mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[HAL]
- Addendum to r69013: also fix the ACPI version of HalpDispatchPower. CORE-10105 CORE-10117 svn path=/trunk/; revision=69092
This commit is contained in:
parent
7db284e5b5
commit
10ca607680
1 changed files with 16 additions and 1 deletions
|
@ -822,8 +822,23 @@ NTAPI
|
|||
HalpDispatchPower(IN PDEVICE_OBJECT DeviceObject,
|
||||
IN PIRP Irp)
|
||||
{
|
||||
PFDO_EXTENSION FdoExtension;
|
||||
|
||||
DPRINT("HAL: PnP Driver Power!\n");
|
||||
FdoExtension = DeviceObject->DeviceExtension;
|
||||
if (FdoExtension->ExtensionType == FdoExtensionType)
|
||||
{
|
||||
PoStartNextPowerIrp(Irp);
|
||||
IoSkipCurrentIrpStackLocation(Irp);
|
||||
return PoCallDriver(FdoExtension->AttachedDeviceObject, Irp);
|
||||
}
|
||||
else
|
||||
{
|
||||
PoStartNextPowerIrp(Irp);
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
|
Loading…
Reference in a new issue