XHCI do not check for CSC bit in xhci_reset_ports ()
This commit is contained in:
@@ -399,7 +399,7 @@ static void xhci_reset_ports (struct xhci* xhci) {
|
|||||||
|
|
||||||
uint32_t portsc = xhci_portsc_read (xhci, port);
|
uint32_t portsc = xhci_portsc_read (xhci, port);
|
||||||
|
|
||||||
if ((portsc & (1 << 17)) && (portsc & (1 << 0))) {
|
if ((portsc & (1 << 0))) {
|
||||||
DEBUG ("Device connected. resetting\n");
|
DEBUG ("Device connected. resetting\n");
|
||||||
xhci_port_reset (xhci, port);
|
xhci_port_reset (xhci, port);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user