- Properly stub SerialPower
CORE-11648

svn path=/trunk/; revision=71974
This commit is contained in:
Thomas Faber 2016-07-20 12:50:58 +00:00
parent 40e83ead42
commit 6ab411d1dc

View file

@ -16,9 +16,12 @@ SerialPower(
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp) IN PIRP Irp)
{ {
PSERIAL_DEVICE_EXTENSION DeviceExtension;
TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n"); TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n");
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = STATUS_SUCCESS; DeviceExtension = DeviceObject->DeviceExtension;
IoCompleteRequest(Irp, IO_NO_INCREMENT); PoStartNextPowerIrp(Irp);
return STATUS_SUCCESS; IoSkipCurrentIrpStackLocation(Irp);
return PoCallDriver(DeviceExtension->LowerDevice, Irp);
} }