Author: cgutman
Date: Tue Feb 21 20:32:48 2012
New Revision: 55792

URL: http://svn.reactos.org/svn/reactos?rev=55792&view=rev
Log:
[USBOHCI]
- Fix indication of USB_PORT_STATUS_RESET changes
- Fixes premature completion of resets causing assertions to fail

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/hardware.cpp?rev=55792&r1=55791&r2=55792&view=diff
==============================================================================
--- trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbohci/hardware.cpp [iso-8859-1] Tue Feb 21 
20:32:48 2012
@@ -1185,14 +1185,11 @@
     if (Value & OHCI_RH_PORTSTATUS_PSSC)
         *PortChange |= USB_PORT_STATUS_ENABLE;
 
-    // port reset started (change bit only set at completion)
+    // port reset started
     if (Value & OHCI_RH_PORTSTATUS_PRS)
-    {
         *PortStatus |= USB_PORT_STATUS_RESET;
-        *PortChange |= USB_PORT_STATUS_RESET;
-    }
-
-    // port reset ended (change bit only set at completion)
+
+    // port reset ended
     if (Value & OHCI_RH_PORTSTATUS_PRSC)
         *PortChange |= USB_PORT_STATUS_RESET;
 


Reply via email to