mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[PCIIDEX] Properly handle unknown PNP IRPs. CORE-13944
This commit is contained in:
parent
8503842309
commit
ed95fa19f0
1 changed files with 1 additions and 3 deletions
|
@ -428,8 +428,7 @@ PciIdeXPdoPnpDispatch(
|
||||||
{
|
{
|
||||||
DPRINT1("IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / Unknown type 0x%lx\n",
|
DPRINT1("IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / Unknown type 0x%lx\n",
|
||||||
Stack->Parameters.QueryDeviceRelations.Type);
|
Stack->Parameters.QueryDeviceRelations.Type);
|
||||||
ASSERT(FALSE);
|
Status = Irp->IoStatus.Status;
|
||||||
Status = STATUS_NOT_SUPPORTED;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -526,7 +525,6 @@ PciIdeXPdoPnpDispatch(
|
||||||
/* We can't forward request to the lower driver, because
|
/* We can't forward request to the lower driver, because
|
||||||
* we are a Pdo, so we don't have lower driver... */
|
* we are a Pdo, so we don't have lower driver... */
|
||||||
DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", MinorFunction);
|
DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", MinorFunction);
|
||||||
ASSERT(FALSE);
|
|
||||||
Information = Irp->IoStatus.Information;
|
Information = Irp->IoStatus.Information;
|
||||||
Status = Irp->IoStatus.Status;
|
Status = Irp->IoStatus.Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue