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:
Abdelkader Boudih committed 2026-09-06 20:47:44 +01:00
1 parent ba28690cc6
commit 13e9b4e5e2
1 file changed
+5
+5
View File
@@ -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",