diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-05-06 12:33:56 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-05-07 11:34:03 +0200 |
commit | 4e906d567a97ee45b4922001bf521dad0bde5268 (patch) | |
tree | f36d59872361718d1a475fa70b6ed738e98ac2d2 /hw/usb | |
parent | 9822261ce3bfbc7aec8b2a3e378892dc368910ed (diff) |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |