mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[ISAPNP] Fix capabilities for devices
This commit is contained in:
parent
42724f47f8
commit
1dcc6f8b94
1 changed files with 5 additions and 4 deletions
|
@ -65,13 +65,14 @@ IsaPdoQueryCapabilities(
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DeviceCapabilities->UniqueID = TRUE;
|
DeviceCapabilities->UniqueID = TRUE;
|
||||||
DeviceCapabilities->SilentInstall = TRUE;
|
|
||||||
DeviceCapabilities->RawDeviceOK = TRUE;
|
DeviceCapabilities->RawDeviceOK = TRUE;
|
||||||
for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++)
|
DeviceCapabilities->SilentInstall = TRUE;
|
||||||
DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
|
|
||||||
DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < POWER_SYSTEM_MAXIMUM; i++)
|
||||||
|
DeviceCapabilities->DeviceState[i] = PowerDeviceD3;
|
||||||
|
DeviceCapabilities->DeviceState[PowerSystemWorking] = PowerDeviceD0;
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue