mirror of https://gitee.com/openkylin/qemu.git
xhci: reset port when disabling slot
Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
4d7a81c06f
commit
5c67dd7b48
|
@ -2123,6 +2123,7 @@ static TRBCCode xhci_disable_slot(XHCIState *xhci, unsigned int slotid)
|
|||
|
||||
xhci->slots[slotid-1].enabled = 0;
|
||||
xhci->slots[slotid-1].addressed = 0;
|
||||
xhci->slots[slotid-1].uport = NULL;
|
||||
return CC_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue