Skip to content

Commit 9e6f877

Browse files
committed
[NTOSKRNL]
- Add a missing device node flag to legacy reported devices to avoid an assertion failure during installation - The fact that this was exposed by a change in device node linking order terrifies me svn path=/trunk/; revision=55926
1 parent d5b957c commit 9e6f877

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reactos/ntoskrnl/io/pnpmgr/pnpreport.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
229229
return Status;
230230
}
231231

232+
/* We're enumerated already */
233+
IopDeviceNodeSetFlag(DeviceNode, DNF_ENUMERATED);
234+
232235
/* We don't call AddDevice for devices reported this way */
233236
IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
234237

0 commit comments

Comments
 (0)