From 1192971621dc02cfb0cd1ff3bbcde0589f376107 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 21 May 2009 17:43:35 +0000 Subject: Fix a failure to report failure on stalled status stage for control transactions. Submitted by: Hans Petter Selasky --- sys/dev/usb/controller/ehci.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/dev/usb/controller/ehci.c') 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; } -- cgit v1.1