From 04afe309b72ea4b20b1e134afc24843e2d6fe8d2 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 13 Dec 2004 16:53:38 +0000 Subject: [PATCH] - Don't call ProtocolSendComplete after NdisSend (NDIS should call it). svn path=/trunk/; revision=12086 --- reactos/drivers/net/tcpip/datalink/lan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/reactos/drivers/net/tcpip/datalink/lan.c b/reactos/drivers/net/tcpip/datalink/lan.c index 660004d0c15..597cb87c057 100644 --- a/reactos/drivers/net/tcpip/datalink/lan.c +++ b/reactos/drivers/net/tcpip/datalink/lan.c @@ -672,9 +672,6 @@ VOID LANTransmit( LanChainCompletion( Adapter, NdisPacket ); TI_DbgPrint(MID_TRACE, ("NdisSend Done\n")); TcpipReleaseSpinLock( &Adapter->Lock, OldIrql ); - - if (NdisStatus != NDIS_STATUS_PENDING) - ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NdisStatus); } else { ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NDIS_STATUS_CLOSED); }