From: Gerd Hoffmann Date: Thu, 25 Jul 2013 11:12:35 +0000 (+0200) Subject: xhci: handle USB_RET_IOERROR X-Git-Tag: v1.6.0-rc1~8^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed60ff024fdb0e7ca9c002af166e10683cf49805;p=thirdparty%2Fqemu.git xhci: handle USB_RET_IOERROR https://bugzilla.redhat.com/show_bug.cgi?id=980377 Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 58f311db0f9..7cbf8136965 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);