From: Gerd Hoffmann Date: Mon, 6 May 2013 10:33:56 +0000 (+0200) Subject: xhci: handle USB_RET_BABBLE X-Git-Tag: v1.5.0-rc0~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e906d567a97ee45b4922001bf521dad0bde5268;p=thirdparty%2Fqemu.git xhci: handle USB_RET_BABBLE Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 2c90e56c991..8813bdf904e 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -1716,6 +1716,11 @@ static int xhci_complete_packet(XHCITransfer *xfer) xhci_xfer_report(xfer); xhci_stall_ep(xfer); break; + case USB_RET_BABBLE: + xfer->status = CC_BABBLE_DETECTED; + xhci_xfer_report(xfer); + xhci_stall_ep(xfer); + break; default: fprintf(stderr, "%s: FIXME: status = %d\n", __func__, xfer->packet.status);