- Invalidate device relations so the child devices get enumerated

svn path=/trunk/; revision=53251
This commit is contained in:
Cameron Gutman 2011-08-15 03:44:10 +00:00
parent 3efa379202
commit f23e722950

View file

@ -137,6 +137,9 @@ HalpAddDevice(IN PDRIVER_OBJECT DriverObject,
FdoExtension->ChildPdoList = PdoExtension;
}
/* Invalidate device relations since we added a new device */
IoInvalidateDeviceRelations(TargetDevice, BusRelations);
/* Return status */
DPRINT1("Device added %lx\n", Status);
return Status;