From: Thomas Faber Date: Wed, 20 Jul 2016 12:50:58 +0000 (+0000) Subject: [SERIAL] X-Git-Tag: ReactOS-0.4.2~49 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6ab411d1dca9e5d767cdbdd9890839099a15ae1d [SERIAL] - Properly stub SerialPower CORE-11648 svn path=/trunk/; revision=71974 --- diff --git a/reactos/drivers/serial/serial/power.c b/reactos/drivers/serial/serial/power.c index 1043a75f4a4..3bd0b5f161d 100644 --- a/reactos/drivers/serial/serial/power.c +++ b/reactos/drivers/serial/serial/power.c @@ -16,9 +16,12 @@ SerialPower( IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) { + PSERIAL_DEVICE_EXTENSION DeviceExtension; + TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n"); - Irp->IoStatus.Information = 0; - Irp->IoStatus.Status = STATUS_SUCCESS; - IoCompleteRequest(Irp, IO_NO_INCREMENT); - return STATUS_SUCCESS; + + DeviceExtension = DeviceObject->DeviceExtension; + PoStartNextPowerIrp(Irp); + IoSkipCurrentIrpStackLocation(Irp); + return PoCallDriver(DeviceExtension->LowerDevice, Irp); }