From 34a7661185b84afa25b55e59948e712d215955e6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 15 Aug 2011 00:08:47 +0000 Subject: [PATCH] [HAL] - Fix incorrect modification of device object flags svn path=/trunk/; revision=53244 --- reactos/hal/halx86/generic/acpi/halpnpdd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/hal/halx86/generic/acpi/halpnpdd.c b/reactos/hal/halx86/generic/acpi/halpnpdd.c index 8617b20f1fc..815230debdf 100644 --- a/reactos/hal/halx86/generic/acpi/halpnpdd.c +++ b/reactos/hal/halx86/generic/acpi/halpnpdd.c @@ -84,7 +84,7 @@ HalpAddDevice(IN PDRIVER_OBJECT DriverObject, FdoExtension->FunctionalDeviceObject = DeviceObject; /* FDO is done initializing */ - DeviceObject->Flags &= DO_DEVICE_INITIALIZING; + DeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; /* Attach to the physical device object (the bus) */ AttachedDevice = IoAttachDeviceToDeviceStack(DeviceObject, TargetDevice); @@ -126,14 +126,14 @@ HalpAddDevice(IN PDRIVER_OBJECT DriverObject, if (!Wdrt) { /* None exists, there is nothing to do more */ - PdoDeviceObject->Flags &= DO_DEVICE_INITIALIZING; + PdoDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; FdoExtension->ChildPdoList = PdoExtension; } else { /* FIXME: TODO */ DPRINT1("You have an ACPI Watchdog. That's great! You should be proud ;-)\n"); - PdoDeviceObject->Flags &= DO_DEVICE_INITIALIZING; + PdoDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; FdoExtension->ChildPdoList = PdoExtension; }