提交 f3dcf638 编写于 作者: G Gerd Hoffmann

xhci: call xhci_detach_slot on root port detach too

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 81251841
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册