mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
[USB-BRINGUP-TRUNK]
- Store correct device power state for PowerSystemWorking svn path=/branches/usb-bringup-trunk/; revision=55115
This commit is contained in:
parent
d55c9c5101
commit
2e9bda4f63
|
@ -593,7 +593,7 @@ CHubController::HandlePnp(
|
|||
DeviceCapabilities->HardwareDisabled = FALSE;
|
||||
DeviceCapabilities->NoDisplayInUI = FALSE;
|
||||
DeviceCapabilities->DeviceState[0] = PowerDeviceD0;
|
||||
for (Index = 0; Index < PowerSystemMaximum; Index++)
|
||||
for (Index = 1; Index < PowerSystemMaximum; Index++)
|
||||
DeviceCapabilities->DeviceState[Index] = PowerDeviceD3;
|
||||
DeviceCapabilities->DeviceWake = PowerDeviceUnspecified;
|
||||
DeviceCapabilities->D1Latency = 0;
|
||||
|
|
|
@ -506,7 +506,7 @@ USBHUB_PdoHandlePnp(
|
|||
DeviceCapabilities->Address = UsbChildExtension->PortNumber;
|
||||
DeviceCapabilities->UINumber = 0;
|
||||
DeviceCapabilities->DeviceState[0] = PowerDeviceD0;
|
||||
for (i = 0; i < PowerSystemMaximum; i++)
|
||||
for (i = 1; i < PowerSystemMaximum; i++)
|
||||
DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
|
||||
//DeviceCapabilities->DeviceWake = PowerDeviceUndefined;
|
||||
DeviceCapabilities->D1Latency = 0;
|
||||
|
|
|
@ -593,7 +593,7 @@ CHubController::HandlePnp(
|
|||
DeviceCapabilities->HardwareDisabled = FALSE;
|
||||
DeviceCapabilities->NoDisplayInUI = FALSE;
|
||||
DeviceCapabilities->DeviceState[0] = PowerDeviceD0;
|
||||
for (Index = 0; Index < PowerSystemMaximum; Index++)
|
||||
for (Index = 1; Index < PowerSystemMaximum; Index++)
|
||||
DeviceCapabilities->DeviceState[Index] = PowerDeviceD3;
|
||||
DeviceCapabilities->DeviceWake = PowerDeviceUnspecified;
|
||||
DeviceCapabilities->D1Latency = 0;
|
||||
|
|
Loading…
Reference in a new issue