[PARPORT]
[reactos.git] / reactos / drivers / parallel / parport / fdo.c
index 8e757c0..2d84763 100644 (file)
@@ -600,13 +600,14 @@ NTAPI
 FdoPower(IN PDEVICE_OBJECT DeviceObject,
          IN PIRP Irp)
 {
 FdoPower(IN PDEVICE_OBJECT DeviceObject,
          IN PIRP Irp)
 {
-    DPRINT("FdoPower()\n");
+    PDEVICE_OBJECT LowerDevice;
 
 
-    Irp->IoStatus.Information = 0;
-    Irp->IoStatus.Status = STATUS_SUCCESS;
-    IoCompleteRequest(Irp, IO_NO_INCREMENT);
+    DPRINT("FdoPower()\n");
 
 
-    return STATUS_SUCCESS;
+    LowerDevice = ((PFDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension)->LowerDevice;
+    PoStartNextPowerIrp(Irp);
+    IoSkipCurrentIrpStackLocation(Irp);
+    return PoCallDriver(LowerDevice, Irp);;
 }
 
 /* EOF */
 }
 
 /* EOF */