Author: cgutman
Date: Mon Feb 20 08:25:38 2012
New Revision: 55739
URL:
http://svn.reactos.org/svn/reactos?rev=55739&view=rev
Log:
[USBOHCI]
- Queue a work item to handle an enable status change condition
Modified:
trunk/reactos/drivers/usb/usbohci/hardware.cpp
Modified: trunk/reactos/drivers/usb/usbohci/hardware.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbohci/hardwa…
==============================================================================
--- trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] Mon Feb 20 08:25:38 2012
@@ -1634,6 +1634,18 @@
//
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)
{
//