From: Gerd Hoffmann Date: Tue, 8 Jan 2013 12:06:57 +0000 (+0100) Subject: xhci: call xhci_detach_slot on root port detach too X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~1412^2~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f3dcf6384cc94b6a688f3a366c20642f36247b68;p=qemu-upstream-4.5-testing.git xhci: call xhci_detach_slot on root port detach too Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 3ff8bc1f8..5b2e7f89e 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); }