提交 9dbfbb89 编写于 作者: G Gerd Hoffmann 提交者: Michael Roth

xhci: reset port when disabling slot

Cc: qemu-stable@nongnu.org
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 5c67dd7b)
Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
上级 57ea2d21
......@@ -2076,6 +2076,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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册