From: Gerd Hoffmann Date: Mon, 6 May 2013 10:33:56 +0000 (+0200) Subject: xhci: handle USB_RET_BABBLE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e906d567a97ee45b4922001bf521dad0bde5268;p=qemu.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 2c90e56c99..8813bdf904 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);