[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Sun, 28 Mar 2010 22:59:38 +0000 (22:59 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sun, 28 Mar 2010 22:59:38 +0000 (22:59 +0000)
- Fix a nasty bug that discarded any response to IRP_MN_FILTER_RESOURCE_REQUIREMENTS so drivers never got the resources they needed

svn path=/trunk/; revision=46533

reactos/ntoskrnl/io/pnpmgr/pnpmgr.c

index 546c1d1..71cfde1 100644 (file)
@@ -150,7 +150,7 @@ IopStartDevice(
       DPRINT("IopInitiatePnpIrp(IRP_MN_FILTER_RESOURCE_REQUIREMENTS) failed\n");
       return Status;
    }
-   DeviceNode->ResourceRequirements = Stack.Parameters.FilterResourceRequirements.IoResourceRequirementList;
+   DeviceNode->ResourceRequirements = (PIO_RESOURCE_REQUIREMENTS_LIST)IoStatusBlock.Information;
 
    Status = IopAssignDeviceResources(DeviceNode, &RequiredLength);
    if (NT_SUCCESS(Status))