mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user