patch-2.3.24 linux/drivers/usb/uhci.c
Next file: linux/drivers/usb/usb-serial.c
Previous file: linux/drivers/usb/ohci-hcd.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Oct 25 10:35:28 1999
- Orig file:
v2.3.23/linux/drivers/usb/uhci.c
- Orig date:
Fri Oct 22 13:21:51 1999
diff -u --recursive --new-file v2.3.23/linux/drivers/usb/uhci.c linux/drivers/usb/uhci.c
@@ -154,7 +154,10 @@
actlength = uhci_actual_length(tmp->status);
if (rval)
*rval += actlength;
- if (explength != actlength) {
+ /* This check is bogus, at least for acm. It
+ always expects 64, but gets as many bytes
+ as available (typically 1) -- pavel */
+ if (0 && (explength != actlength)) {
/* Reset the data toggle on error. */
if (debug || uhci_debug)
printk(KERN_DEBUG "Set toggle from %p rval %ld%c for status=%x to %d, exp=%d, act=%d\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)