[NTOSKRNL]

- Comment out sending remove to devices before driver installation because there are still some bugs causing crashes

svn path=/trunk/; revision=52054
This commit is contained in:
Cameron Gutman
2011-06-02 06:07:08 +00:00
parent 316a7467b0
commit 3ad1745d96
+2
View File
@@ -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;