mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
Revert most of r53392 effects.
When IoReportDetectedDevice() creates a PDO, the PDO is in no way related to the DriverObject given to the function. Driver calling IoReportDetectedDevice() should then ensure that it attachs a FDO on top of this PDO. svn path=/trunk/; revision=55972
This commit is contained in:
parent
85f9f9e518
commit
22f20d79fc
|
@ -207,7 +207,7 @@ IoReportDetectedDevice(IN PDRIVER_OBJECT DriverObject,
|
|||
{
|
||||
/* Create the PDO */
|
||||
Status = PnpRootCreateDevice(&ServiceName,
|
||||
DriverObject,
|
||||
NULL,
|
||||
&Pdo,
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue