projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93eec29
)
Prevent the reinstall of devices that use the NULL driver at each reboot
author
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 18 Nov 2005 16:42:41 +0000
(16:42 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Fri, 18 Nov 2005 16:42:41 +0000
(16:42 +0000)
svn path=/trunk/; revision=19324
reactos/ntoskrnl/io/pnpmgr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr.c
b/reactos/ntoskrnl/io/pnpmgr.c
index
7feb2d6
..
720b6a1
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr.c
+++ b/
reactos/ntoskrnl/io/pnpmgr.c
@@
-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))