summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-01-20 19:57:43 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-01-20 19:57:43 +0000
commit58295f6acea3d284b90459e4f23c26fd33885831 (patch)
treec7bdef1187aa5d11183806aaa169b88d69dd23f2
parent9882bd8c33ea7efed9a984f48d3775fbb76568a0 (diff)
Notes
-rw-r--r--sys/dev/usb/if_aue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 7971fc397dc4..f321a63443ba 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -989,7 +989,7 @@ static void aue_rxeof(xfer, priv, status)
* split transfer. We really need a more reliable way
* to detect this.
*/
- if (r.aue_pktlen != AUE_CUTOFF && total_len == AUE_CUTOFF) {
+ if (total_len == AUE_CUTOFF && r.aue_pktlen != (AUE_CUTOFF - 4)) {
c->aue_accum = AUE_CUTOFF;
usbd_setup_xfer(xfer, sc->aue_ep[AUE_ENDPT_RX],
c, mtod(c->aue_mbuf, char *) + AUE_CUTOFF,