diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-21 17:43:35 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-21 17:43:35 +0000 |
commit | 1192971621dc02cfb0cd1ff3bbcde0589f376107 (patch) | |
tree | dc08333f25a8b6a6ce7a4e5c032e5ba58fb8d438 /sys/dev/usb/controller/ehci.c | |
parent | ea140156c05008405eece1cfe98b56a6c12c9038 (diff) | |
download | FreeBSD-src-1192971621dc02cfb0cd1ff3bbcde0589f376107.zip FreeBSD-src-1192971621dc02cfb0cd1ff3bbcde0589f376107.tar.gz |
Fix a failure to report failure on stalled status stage for control
transactions.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/controller/ehci.c')
-rw-r--r-- | sys/dev/usb/controller/ehci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index 6156cb8..c3b7ba4 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -1156,13 +1156,6 @@ ehci_non_isoc_done_sub(struct usb2_xfer *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; } |