diff --git a/kernel/device/xhci.c b/kernel/device/xhci.c index 859c9ce..f46d672 100644 --- a/kernel/device/xhci.c +++ b/kernel/device/xhci.c @@ -399,7 +399,7 @@ static void xhci_reset_ports (struct xhci* xhci) { uint32_t portsc = xhci_portsc_read (xhci, port); - if ((portsc & (1 << 17)) && (portsc & (1 << 0))) { + if ((portsc & (1 << 0))) { DEBUG ("Device connected. resetting\n"); xhci_port_reset (xhci, port); }