Author: tfaber
Date: Fri Sep 22 07:31:57 2017
New Revision: 75922
URL:
http://svn.reactos.org/svn/reactos?rev=75922&view=rev
Log:
[NDIS]
- Don't assert on IRP_MJ_CLEANUP
CORE-7630
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Fri Sep 22 07:31:57
2017
@@ -2579,7 +2579,8 @@
if (DeviceObject->DeviceType == FILE_DEVICE_PHYSICAL_NETCARD)
{
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);
}