mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[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
This commit is contained in:
parent
d5b957c1ac
commit
9e6f877683
1 changed files with 3 additions and 0 deletions
|
@ -229,6 +229,9 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
return Status;
|
||||
}
|
||||
|
||||
/* We're enumerated already */
|
||||
IopDeviceNodeSetFlag(DeviceNode, DNF_ENUMERATED);
|
||||
|
||||
/* We don't call AddDevice for devices reported this way */
|
||||
IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
|
||||
|
||||
|
|
Loading…
Reference in a new issue