mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix CCD for bounced devices.
This commit is contained in:
parent
775f9cd54d
commit
c0b89506ba
2 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
|
||||
/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
|
||||
|
||||
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
|
||||
|
||||
|
|
@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
|
|||
if (cbp->cb_buf.b_bcount > bcount)
|
||||
cbp->cb_buf.b_bcount = bcount;
|
||||
|
||||
cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
|
||||
|
||||
/*
|
||||
* context for ccdiodone
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
|
||||
/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
|
||||
|
||||
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
|
||||
|
||||
|
|
@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
|
|||
if (cbp->cb_buf.b_bcount > bcount)
|
||||
cbp->cb_buf.b_bcount = bcount;
|
||||
|
||||
cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
|
||||
|
||||
/*
|
||||
* context for ccdiodone
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue