mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue