From 4e906d567a97ee45b4922001bf521dad0bde5268 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 6 May 2013 12:33:56 +0200 Subject: xhci: handle USB_RET_BABBLE Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw') 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); -- cgit v1.2.1