From 3ad1745d96bad83f4b293a52ee837a51332fefbf Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 2 Jun 2011 06:07:08 +0000 Subject: [PATCH] [NTOSKRNL] - Comment out sending remove to devices before driver installation because there are still some bugs causing crashes svn path=/trunk/; revision=52054 --- reactos/ntoskrnl/io/pnpmgr/plugplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/io/pnpmgr/plugplay.c b/reactos/ntoskrnl/io/pnpmgr/plugplay.c index 52e480e6746..bd52f4d4a87 100644 --- a/reactos/ntoskrnl/io/pnpmgr/plugplay.c +++ b/reactos/ntoskrnl/io/pnpmgr/plugplay.c @@ -551,6 +551,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData) DeviceNode = IopGetDeviceNode(DeviceObject); +#if 0 /* Remove the device */ if (DeviceNode->Flags & DNF_ENUMERATED) { @@ -560,6 +561,7 @@ IopResetDevice(PPLUGPLAY_CONTROL_RESET_DEVICE_DATA ResetDeviceData) DPRINT1("WARNING: Ignoring failed IopRemoveDevice() for %wZ (likely a driver bug)\n", &DeviceNode->InstancePath); } } +#endif /* Reenumerate the device and its children */ DeviceNode->Flags &= ~DNF_DISABLED;