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/u…
==============================================================================
--- 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