mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
Prevent the reinstall of devices that use the NULL driver at each reboot
svn path=/trunk/; revision=19324
This commit is contained in:
parent
93eec292ae
commit
162952722e
1 changed files with 5 additions and 0 deletions
|
@ -2063,6 +2063,11 @@ IopActionInitChildServices(
|
|||
}
|
||||
#endif
|
||||
|
||||
if (DeviceNode->ServiceName.Length == 0)
|
||||
/* We have a NULL driver for this device. We can't really do
|
||||
* something with it, so state it is started... */
|
||||
IopDeviceNodeSetFlag(DeviceNode, DNF_STARTED);
|
||||
|
||||
if (!IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED) &&
|
||||
!IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) &&
|
||||
!IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED))
|
||||
|
|
Loading…
Reference in a new issue