mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:IO] Queue device tree enumeration inside IoReportDetectedDevice
Without that, a DeviceNode is not created for a reported device and thus it is not being attached to the device tree CORE-17132
This commit is contained in:
parent
dc1d717b22
commit
162d614cc1
1 changed files with 2 additions and 0 deletions
|
@ -395,6 +395,8 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
|
||||
DPRINT("Reported device: %S (%wZ)\n", HardwareId, &DeviceNode->InstancePath);
|
||||
|
||||
PiQueueDeviceAction(Pdo, PiActionEnumDeviceTree, NULL, NULL);
|
||||
|
||||
/* Return the PDO */
|
||||
if (DeviceObject) *DeviceObject = Pdo;
|
||||
|
||||
|
|
Loading…
Reference in a new issue