diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-07-25 13:12:35 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-07-30 10:26:19 +0200 |
commit | ed60ff024fdb0e7ca9c002af166e10683cf49805 (patch) | |
tree | 8fb245af395d1aabd698b4b7180c82a226e993e0 /hw/usb/hcd-xhci.c | |
parent | dbe49aea76a7805f05b33d548b2e543b51fa8bb1 (diff) | |
download | qemu-ed60ff024fdb0e7ca9c002af166e10683cf49805.zip |
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>
Diffstat (limited to 'hw/usb/hcd-xhci.c')
-rw-r--r-- | hw/usb/hcd-xhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 58f311db0f..7cbf813696 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -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); |