aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-05-06 12:33:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-05-07 11:34:03 +0200
commit4e906d567a97ee45b4922001bf521dad0bde5268 (patch)
treef36d59872361718d1a475fa70b6ed738e98ac2d2 /hw/usb
parent9822261ce3bfbc7aec8b2a3e378892dc368910ed (diff)
downloadqemu-4e906d567a97ee45b4922001bf521dad0bde5268.zip
qemu-4e906d567a97ee45b4922001bf521dad0bde5268.tar.gz
qemu-4e906d567a97ee45b4922001bf521dad0bde5268.tar.bz2
xhci: handle USB_RET_BABBLE
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/hcd-xhci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 2c90e56..8813bdf 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);