- Send the SCE IRP before resetting the port so we can wait on it for device enumeration

svn path=/branches/usb-bringup-trunk/; revision=55338
This commit is contained in:
Cameron Gutman 2012-01-30 22:19:47 +00:00
parent 5236296f5c
commit 475fe08f3c

View file

@ -1446,6 +1446,11 @@ RootHubInitCallbackFunction(
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 @@ RootHubInitCallbackFunction(
}
}
}
//
// Send the first SCE Request
//
QueryStatusChangeEndpoint(DeviceObject);
}
NTSTATUS