svn commit: r192555 - head/sys/dev/usb/controller
Andrew Thompson
thompsa at FreeBSD.org
Thu May 21 17:43:35 UTC 2009
Author: thompsa
Date: Thu May 21 17:43:35 2009
New Revision: 192555
URL: http://svn.freebsd.org/changeset/base/192555
Log:
Fix a failure to report failure on stalled status stage for control
transactions.
Submitted by: Hans Petter Selasky
Modified:
head/sys/dev/usb/controller/ehci.c
Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c Thu May 21 17:42:32 2009 (r192554)
+++ head/sys/dev/usb/controller/ehci.c Thu May 21 17:43:35 2009 (r192555)
@@ -1156,13 +1156,6 @@ ehci_non_isoc_done_sub(struct usb2_xfer
}
/* Check for last transfer */
if (((void *)td) == xfer->td_transfer_last) {
- if (len == 0) {
- /*
- * Halt is ok if descriptor is last,
- * and complete:
- */
- status &= ~EHCI_QTD_HALTED;
- }
td = NULL;
break;
}
More information about the svn-src-head
mailing list