Author: tfaber
Date: Wed Jul 20 12:50:58 2016
New Revision: 71974
URL:
http://svn.reactos.org/svn/reactos?rev=71974&view=rev
Log:
[SERIAL]
- Properly stub SerialPower
CORE-11648
Modified:
trunk/reactos/drivers/serial/serial/power.c
Modified: trunk/reactos/drivers/serial/serial/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serial/powe…
==============================================================================
--- trunk/reactos/drivers/serial/serial/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/serial/serial/power.c [iso-8859-1] Wed Jul 20 12:50:58 2016
@@ -16,9 +16,12 @@
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);
}