mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +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
|
#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) &&
|
if (!IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED) &&
|
||||||
!IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) &&
|
!IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) &&
|
||||||
!IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED))
|
!IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue