diff --git a/reactos/drivers/usb/usbohci/hardware.cpp b/reactos/drivers/usb/usbohci/hardware.cpp index f9c357fa913..3bd8b2594af 100644 --- a/reactos/drivers/usb/usbohci/hardware.cpp +++ b/reactos/drivers/usb/usbohci/hardware.cpp @@ -1634,6 +1634,18 @@ OhciDefferedRoutine( // QueueSCEWorkItem = TRUE; } + else if (PortStatus & OHCI_RH_PORTSTATUS_PESC) + { + // + // device disconnected or some error condition + // + ASSERT(!(PortStatus & OHCI_RH_PORTSTATUS_PES)); + + // + // work to do + // + QueueSCEWorkItem = TRUE; + } else if (PortStatus & OHCI_RH_PORTSTATUS_PRSC) { //