Author: cgutman
Date: Thu Jun  2 06:07:08 2011
New Revision: 52054

URL: http://svn.reactos.org/svn/reactos?rev=52054&view=rev
Log:
[NTOSKRNL]
- Comment out sending remove to devices before driver installation because 
there are still some bugs causing crashes

Modified:
    trunk/reactos/ntoskrnl/io/pnpmgr/plugplay.c

Modified: trunk/reactos/ntoskrnl/io/pnpmgr/plugplay.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/plugplay.c?rev=52054&r1=52053&r2=52054&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/plugplay.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/plugplay.c [iso-8859-1] Thu Jun  2 
06:07:08 2011
@@ -551,6 +551,7 @@
 
     DeviceNode = IopGetDeviceNode(DeviceObject);
 
+#if 0
     /* Remove the device */
     if (DeviceNode->Flags & DNF_ENUMERATED)
     {
@@ -560,6 +561,7 @@
             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;


Reply via email to