mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:22:57 +00:00
[NDIS]
- Don't assert on IRP_MJ_CLEANUP CORE-7630 svn path=/trunk/; revision=75922
This commit is contained in:
parent
95646b73c9
commit
5fd71adffe
1 changed files with 2 additions and 1 deletions
|
@ -2579,7 +2579,8 @@ NdisGenericIrpHandler(
|
||||||
if (DeviceObject->DeviceType == FILE_DEVICE_PHYSICAL_NETCARD)
|
if (DeviceObject->DeviceType == FILE_DEVICE_PHYSICAL_NETCARD)
|
||||||
{
|
{
|
||||||
if ((IrpSp->MajorFunction == IRP_MJ_CREATE) ||
|
if ((IrpSp->MajorFunction == IRP_MJ_CREATE) ||
|
||||||
(IrpSp->MajorFunction == IRP_MJ_CLOSE))
|
(IrpSp->MajorFunction == IRP_MJ_CLOSE) ||
|
||||||
|
(IrpSp->MajorFunction == IRP_MJ_CLEANUP))
|
||||||
{
|
{
|
||||||
return NdisICreateClose(DeviceObject, Irp);
|
return NdisICreateClose(DeviceObject, Irp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue