From aa6ff8e5226ae8d46d4a5b202911252a6a627f1f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 20 Jun 2011 10:54:00 +0000 Subject: [PATCH] [NTOSKRNL] - Use PoCallDriver when sending a power IRP svn path=/trunk/; revision=52378 --- reactos/ntoskrnl/po/power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/po/power.c b/reactos/ntoskrnl/po/power.c index d59bee2a624..85839a9ce67 100644 --- a/reactos/ntoskrnl/po/power.c +++ b/reactos/ntoskrnl/po/power.c @@ -574,7 +574,7 @@ PoRequestPowerIrp(IN PDEVICE_OBJECT DeviceObject, *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.