projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1679d0b
)
- It may happen so, that the driver was loaded by the bootloader, but failed initiali...
author
Aleksey Bragin
<aleksey@reactos.org>
Fri, 2 Nov 2007 16:00:58 +0000
(16:00 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Fri, 2 Nov 2007 16:00:58 +0000
(16:00 +0000)
svn path=/trunk/; revision=30071
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
index
87ac29d
..
0770453
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
+++ b/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
@@
-2516,7
+2516,8
@@
IopActionInitChildServices(PDEVICE_NODE DeviceNode,
{
/* STATUS_IMAGE_ALREADY_LOADED means this driver
was loaded by the bootloader */
- if (Status != STATUS_IMAGE_ALREADY_LOADED)
+ if ((Status != STATUS_IMAGE_ALREADY_LOADED) ||
+ (Status == STATUS_IMAGE_ALREADY_LOADED && !DriverObject))
{
/* Initialize the driver */
Status = IopInitializeDriverModule(DeviceNode, ModuleObject,