xhci: call xhci_detach_slot on root port detach too
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
8125184178
commit
f3dcf6384c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user