patch-2.3.27 linux/drivers/usb/uhci.c
Next file: linux/drivers/usb/usb-serial.c
Previous file: linux/drivers/usb/proc_usb.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Nov 8 12:04:40 1999
- Orig file:
v2.3.26/linux/drivers/usb/uhci.c
- Orig date:
Sun Nov 7 16:37:34 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/usb/uhci.c linux/drivers/usb/uhci.c
@@ -156,7 +156,7 @@
if (rval)
*rval += actlength;
- if (explength != actlength) {
+ if (explength != actlength && tmp->pipetype == PIPE_BULK) {
/* If the packet is short, none of the */
/* packets after this were processed, so */
/* fix the DT accordingly */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)