mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Fix logical error in a hack.
svn path=/trunk/; revision=29661
This commit is contained in:
parent
1ba1d85baf
commit
c44c89a6ab
1 changed files with 2 additions and 1 deletions
|
@ -369,7 +369,8 @@ FdoStartDevice(
|
|||
|
||||
AllocatedResources = IoGetCurrentIrpStackLocation(Irp)->Parameters.StartDevice.AllocatedResources;
|
||||
/* HACK due to a bug in ACPI driver, which doesn't report the bus number */
|
||||
if (!FoundBuggyAllocatedResourcesList || !AllocatedResources || AllocatedResources->Count == 0)
|
||||
if (!FoundBuggyAllocatedResourcesList &&
|
||||
(!AllocatedResources || AllocatedResources->Count == 0))
|
||||
{
|
||||
FoundBuggyAllocatedResourcesList = TRUE;
|
||||
DPRINT1("No bus number resource found (bug in acpi.sys?), assuming bus number #0\n");
|
||||
|
|
Loading…
Reference in a new issue