From 475fe08f3ca1ee198cb452152cf4bac1cc74355d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 30 Jan 2012 22:19:47 +0000 Subject: [PATCH] [USBHUB] - 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 --- drivers/usb/usbhub_new/fdo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/usbhub_new/fdo.c b/drivers/usb/usbhub_new/fdo.c index 0b309ce60c1..31c91efdd19 100644 --- a/drivers/usb/usbhub_new/fdo.c +++ b/drivers/usb/usbhub_new/fdo.c @@ -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