Author: cgutman
Date: Sat Sep 20 18:08:56 2008
New Revision: 36359
URL:
http://svn.reactos.org/svn/reactos?rev=36359&view=rev
Log:
- Only call MiniSendComplete if ProIndicatePacket didn't return NDIS_STATUS_PENDING
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sat Sep
20 18:08:56 2008
@@ -853,7 +853,9 @@
*/
/* XXX atm ProIndicatePacket sends a packet up via the loopback adapter only
*/
NdisStatus = ProIndicatePacket(Adapter, (PNDIS_PACKET)WorkItemContext);
- MiniSendComplete((NDIS_HANDLE)Adapter, (PNDIS_PACKET)WorkItemContext,
NdisStatus);
+
+ if( NdisStatus != NDIS_STATUS_PENDING )
+ MiniSendComplete((NDIS_HANDLE)Adapter, (PNDIS_PACKET)WorkItemContext,
NdisStatus);
break;
case NdisWorkItemReturnPackets: