mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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,
|
||||
PIRP Irp )
|
||||
{
|
||||
NTSTATUS status = STATUS_SUCCESS;
|
||||
NTSTATUS status;
|
||||
POWER_STATE powerState;
|
||||
ACPI_STATUS AcpiStatus;
|
||||
|
||||
|
@ -286,10 +286,9 @@ Bus_StartFdo (
|
|||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
AcpiStatus = AcpiInitializeTables(NULL, 16, 0);
|
||||
if (ACPI_FAILURE(status)){
|
||||
DPRINT1("Unable to AcpiInitializeSubsystem\n");
|
||||
AcpiStatus = AcpiInitializeTables(NULL, 16, 0);
|
||||
if (ACPI_FAILURE(AcpiStatus)){
|
||||
DPRINT1("Unable to AcpiInitializeTables\n");
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue