Author: cgutman Date: Mon Aug 15 00:08:47 2011 New Revision: 53244
URL: http://svn.reactos.org/svn/reactos?rev=53244&view=rev Log: [HAL] - Fix incorrect modification of device object flags
Modified: trunk/reactos/hal/halx86/generic/acpi/halpnpdd.c
Modified: trunk/reactos/hal/halx86/generic/acpi/halpnpdd.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/acpi/hal... ============================================================================== --- trunk/reactos/hal/halx86/generic/acpi/halpnpdd.c [iso-8859-1] (original) +++ trunk/reactos/hal/halx86/generic/acpi/halpnpdd.c [iso-8859-1] Mon Aug 15 00:08:47 2011 @@ -84,7 +84,7 @@ 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 @@ 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; }