mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
[NTOSKRNL]
- 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
This commit is contained in:
parent
12f66ee7b9
commit
3bb7bcab09
|
@ -150,7 +150,7 @@ IopStartDevice(
|
||||||
DPRINT("IopInitiatePnpIrp(IRP_MN_FILTER_RESOURCE_REQUIREMENTS) failed\n");
|
DPRINT("IopInitiatePnpIrp(IRP_MN_FILTER_RESOURCE_REQUIREMENTS) failed\n");
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
DeviceNode->ResourceRequirements = Stack.Parameters.FilterResourceRequirements.IoResourceRequirementList;
|
DeviceNode->ResourceRequirements = (PIO_RESOURCE_REQUIREMENTS_LIST)IoStatusBlock.Information;
|
||||||
|
|
||||||
Status = IopAssignDeviceResources(DeviceNode, &RequiredLength);
|
Status = IopAssignDeviceResources(DeviceNode, &RequiredLength);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
|
|
Loading…
Reference in a new issue