[NTOSKRNL]

- Use PoCallDriver when sending a power IRP

svn path=/trunk/; revision=52378
This commit is contained in:
Cameron Gutman 2011-06-20 10:54:00 +00:00
parent 8d5a792eb8
commit aa6ff8e522

View file

@ -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.