mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +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;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We're enumerated already */
|
||||||
|
IopDeviceNodeSetFlag(DeviceNode, DNF_ENUMERATED);
|
||||||
|
|
||||||
/* We don't call AddDevice for devices reported this way */
|
/* We don't call AddDevice for devices reported this way */
|
||||||
IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
|
IopDeviceNodeSetFlag(DeviceNode, DNF_ADDED);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue