From 6ab411d1dca9e5d767cdbdd9890839099a15ae1d Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Wed, 20 Jul 2016 12:50:58 +0000 Subject: [PATCH] [SERIAL] - Properly stub SerialPower CORE-11648 svn path=/trunk/; revision=71974 --- reactos/drivers/serial/serial/power.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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); } -- 2.17.1