From fe6c48c65b75f3c0cf1a73139e5896f47f6945c5 Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Wed, 4 Apr 2007 20:12:23 +0000 Subject: [PATCH] - Fix the damn thing. svn path=/trunk/; revision=26265 --- reactos/ntoskrnl/io/pnpmgr/pnpmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c index 0e13c736275..0c4a6ca13ad 100644 --- a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c @@ -3320,6 +3320,7 @@ PnpInit(VOID) IopRootDeviceNode->PhysicalDeviceObject->Flags |= DO_BUS_ENUMERATED_DEVICE; PnpRootDriverEntry(IopRootDriverObject, NULL); + IopRootDeviceNode->PhysicalDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; IopRootDriverObject->DriverExtension->AddDevice( IopRootDriverObject, IopRootDeviceNode->PhysicalDeviceObject);