patch-2.3.17 linux/drivers/usb/ohci.c
Next file: linux/drivers/usb/uhci.c
Previous file: linux/drivers/usb/mouse.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Sep 1 15:31:47 1999
- Orig file:
v2.3.16/linux/drivers/usb/ohci.c
- Orig date:
Thu Aug 26 13:05:39 1999
diff -u --recursive --new-file v2.3.16/linux/drivers/usb/ohci.c linux/drivers/usb/ohci.c
@@ -1455,7 +1455,7 @@
return ohci_generic_trans(usb_dev, pipe,
TOGGLE_AUTO,
- 1 /* round */, 1 /* autofree */,
+ 0 /* round */, 1 /* autofree */,
dev_id, handler, data, len,
HCD_ED_BULK,
NULL /* no setup_td */, NULL /* no status_td */ );
@@ -1504,7 +1504,7 @@
#endif
/* only count TDs that were completed successfully */
- if (stats == USB_ST_NOERROR)
+ if (stats == USB_ST_NOERROR || stats == USB_ST_DATAUNDERRUN) /*DEN*/
req->_bytes_done += len;
#ifdef OHCI_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)