patch-2.3.29 linux/drivers/usb/uhci.c
Next file: linux/drivers/usb/usb.c
Previous file: linux/drivers/usb/proc_usb.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Thu Nov 18 21:01:15 1999
-  Orig file: 
v2.3.28/linux/drivers/usb/uhci.c
-  Orig date: 
Thu Nov 11 20:11:49 1999
diff -u --recursive --new-file v2.3.28/linux/drivers/usb/uhci.c linux/drivers/usb/uhci.c
@@ -156,7 +156,8 @@
 			if (rval)
 				*rval += actlength;
 
-			if (explength != actlength && tmp->pipetype == PIPE_BULK) {
+			if (explength != actlength &&
+			   ((tmp->pipetype == PIPE_BULK) || (tmp->pipetype == PIPE_CONTROL))) {
 				/* 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)