mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- IRP_MN_FILTER_RESOURCE_REQUIREMENTS passes the list also in Irp->IoStatus.Information
- Fixes a crash in CMI8738 driver svn path=/trunk/; revision=40914
This commit is contained in:
parent
3fb0bb6086
commit
b190734d50
1 changed files with 5 additions and 0 deletions
|
@ -515,6 +515,11 @@ IopInitiatePnpIrp(PDEVICE_OBJECT DeviceObject,
|
|||
Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
||||
if (MinorFunction == IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
|
||||
{
|
||||
Irp->IoStatus.Information = (ULONG_PTR)Stack->Parameters.FilterResourceRequirements.IoResourceRequirementList;
|
||||
}
|
||||
|
||||
IrpSp = IoGetNextIrpStackLocation(Irp);
|
||||
IrpSp->MinorFunction = (UCHAR)MinorFunction;
|
||||
|
||||
|
|
Loading…
Reference in a new issue