diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-08 13:06:57 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-14 08:59:40 +0100 |
commit | f3dcf6384cc94b6a688f3a366c20642f36247b68 (patch) | |
tree | 7bf4e333c16a8593832fd6c60507e7bf6e688a8d | |
parent | 8125184178de05d762e39ee07f44ada6006e87bd (diff) |
xhci: call xhci_detach_slot on root port detach too
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/usb/hcd-xhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 3ff8bc1f8a..5b2e7f89e4 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -2957,6 +2957,7 @@ static void xhci_detach(USBPort *usbport) XHCIState *xhci = usbport->opaque; XHCIPort *port = xhci_lookup_port(xhci, usbport); + xhci_detach_slot(xhci, usbport); xhci_port_update(port, 1); } |