Fix test for deciding when a bulk IN transfer got truncated. I thought
I fixed this last night, but apparently I only applied the patch to the copy of the code in /dev/brain0.
This commit is contained in:
parent
9882bd8c33
commit
58295f6ace
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user