[ros-diffs] [cgutman] 55338: [USBHUB] - Send the SCE IRP before resetting the port so we can wait on it for device enumeration

cgutman at svn.reactos.org cgutman at svn.reactos.org
Mon Jan 30 22:19:47 UTC 2012


Author: cgutman
Date: Mon Jan 30 22:19:47 2012
New Revision: 55338

URL: http://svn.reactos.org/svn/reactos?rev=55338&view=rev
Log:
[USBHUB]
- Send the SCE IRP before resetting the port so we can wait on it for device enumeration

Modified:
    branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c

Modified: branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c?rev=55338&r1=55337&r2=55338&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] Mon Jan 30 22:19:47 2012
@@ -1446,6 +1446,11 @@
 
     DPRINT1("RootHubInitCallbackFunction Sending the initial SCE Request %x\n", DeviceObject);
 
+    //
+    // Send the first SCE Request
+    //
+    QueryStatusChangeEndpoint(DeviceObject);
+
     for (PortId = 1; PortId <= HubDeviceExtension->HubDescriptor.bNumberOfPorts; PortId++)
     {
         //
@@ -1468,11 +1473,6 @@
             }
         }
     }
-
-    //
-    // Send the first SCE Request
-    //
-    QueryStatusChangeEndpoint(DeviceObject);
 }
 
 NTSTATUS




More information about the Ros-diffs mailing list