mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[ACPI]
- Fix a broken status check in Bus_StartFdo. Spotted by willok. svn path=/trunk/; revision=71207
This commit is contained in:
parent
a91ac10b0f
commit
cc84d2386d
1 changed files with 5 additions and 6 deletions
|
@ -268,7 +268,7 @@ Bus_StartFdo (
|
||||||
PFDO_DEVICE_DATA FdoData,
|
PFDO_DEVICE_DATA FdoData,
|
||||||
PIRP Irp )
|
PIRP Irp )
|
||||||
{
|
{
|
||||||
NTSTATUS status = STATUS_SUCCESS;
|
NTSTATUS status;
|
||||||
POWER_STATE powerState;
|
POWER_STATE powerState;
|
||||||
ACPI_STATUS AcpiStatus;
|
ACPI_STATUS AcpiStatus;
|
||||||
|
|
||||||
|
@ -286,10 +286,9 @@ Bus_StartFdo (
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AcpiStatus = AcpiInitializeTables(NULL, 16, 0);
|
||||||
AcpiStatus = AcpiInitializeTables(NULL, 16, 0);
|
if (ACPI_FAILURE(AcpiStatus)){
|
||||||
if (ACPI_FAILURE(status)){
|
DPRINT1("Unable to AcpiInitializeTables\n");
|
||||||
DPRINT1("Unable to AcpiInitializeSubsystem\n");
|
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue