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

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)