- Fix build
authorCameron Gutman <aicommander@gmail.com>
Sat, 20 Mar 2010 16:49:50 +0000 (16:49 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 20 Mar 2010 16:49:50 +0000 (16:49 +0000)
svn path=/trunk/; revision=46286

reactos/ntoskrnl/po/power.c

index 3d05dbe..eb163b6 100644 (file)
@@ -398,7 +398,7 @@ PoRequestPowerIrp(IN PDEVICE_OBJECT DeviceObject,
     else
     {
         Stack->Parameters.Power.Type = DevicePowerState;
-        Stack->Parameters.Power.State = PowerState.DeviceState;
+        Stack->Parameters.Power.State = PowerState;
     }
   
     RequestPowerItem->CompletionRoutine = CompletionFunction;