Fix a failure to report failure on stalled status stage for control

transactions.

Submitted by:	Hans Petter Selasky
This commit is contained in:
Andrew Thompson 2009-05-21 17:43:35 +00:00
parent 55e76c210e
commit 1d70ff1cf6

View file

@ -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;
}