mirror of
https://github.com/xemu-project/xemu.git
synced 2026-11-14 10:08:58 +01:00
xhci: handle USB_RET_IOERROR
https://bugzilla.redhat.com/show_bug.cgi?id=980377 Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
1 parent
dbe49aea76
commit
ed60ff024f
1 file changed
+1
@@ -1741,6 +1741,7 @@ static int xhci_complete_packet(XHCITransfer *xfer)
|
||||
trace_usb_xhci_xfer_error(xfer, xfer->packet.status);
|
||||
switch (xfer->packet.status) {
|
||||
case USB_RET_NODEV:
|
||||
case USB_RET_IOERROR:
|
||||
xfer->status = CC_USB_TRANSACTION_ERROR;
|
||||
xhci_xfer_report(xfer);
|
||||
xhci_stall_ep(xfer);
|
||||
|
||||
Reference in new issue
Block a user