mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
apple_bce: ignore duplicate TRANSFER_REQUEST in STATUS state
Since the host initiates IN data transfers, the firmware's own TRANSFER_REQUEST for the same phase arrives after we've already moved to STATUS state. Ignoring instead of failing the transfer with USB_ERR_IOERROR. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D58873
This commit is contained in:
1 parent
ba28690cc6
commit
13e9b4e5e2
1 file changed
+5
@@ -2888,6 +2888,11 @@ bce_vhci_handle_transfer_request(struct bce_vhci_softc *vhci,
|
||||
break;
|
||||
}
|
||||
|
||||
case BCE_VHCI_CTRL_STATUS:
|
||||
if (bus_locked == 0)
|
||||
USB_BUS_UNLOCK(&vhci->sc_bus);
|
||||
break;
|
||||
|
||||
default:
|
||||
device_printf(vhci->sc_dev,
|
||||
"unexpected TRANSFER_REQUEST in state %d\n",
|
||||
|
||||
Reference in new issue
Block a user