From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V45Po-0000Mx-2N for qemu-devel@nongnu.org; Tue, 30 Jul 2013 04:36:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V45Pi-0001Bi-Uj for qemu-devel@nongnu.org; Tue, 30 Jul 2013 04:36:19 -0400 From: Gerd Hoffmann Date: Tue, 30 Jul 2013 10:36:09 +0200 Message-Id: <1375173371-3378-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1375173371-3378-1-git-send-email-kraxel@redhat.com> References: <1375173371-3378-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/3] xhci: handle USB_RET_IOERROR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , qemu-stable@nongnu.org https://bugzilla.redhat.com/show_bug.cgi?id=980377 Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 58f311d..7cbf813 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); -- 1.7.9.7