]> git.proxmox.com Git - qemu.git/commitdiff
xhci: handle USB_RET_BABBLE
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 6 May 2013 10:33:56 +0000 (12:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 May 2013 09:34:03 +0000 (11:34 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c

index 2c90e56c9917ba96989069c34cb1b836e290ccc0..8813bdf904e3d246c99f9e3d88cf5b6bb04f720f 100644 (file)
@@ -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);