Author: cgutman
Date: Mon Jun 20 10:54:00 2011
New Revision: 52378
URL:
http://svn.reactos.org/svn/reactos?rev=52378&view=rev
Log:
[NTOSKRNL]
- Use PoCallDriver when sending a power IRP
Modified:
trunk/reactos/ntoskrnl/po/power.c
Modified: trunk/reactos/ntoskrnl/po/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/po/power.c?rev=52…
==============================================================================
--- trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] Mon Jun 20 10:54:00 2011
@@ -574,7 +574,7 @@
*pIrp = Irp;
IoSetCompletionRoutine(Irp, PopRequestPowerIrpCompletion, RequestPowerItem, TRUE,
TRUE, TRUE);
- IoCallDriver(TopDeviceObject, Irp);
+ PoCallDriver(TopDeviceObject, Irp);
/* Always return STATUS_PENDING. The completion routine
* will call CompletionFunction and complete the Irp.