From 91bbf4471d7f3230f594f50e4bda7b9cdf6291fd Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Sat, 18 Dec 2004 20:10:39 +0000 Subject: [PATCH] Added missing pending check (pointed out by filip). svn path=/trunk/; revision=12198 --- reactos/drivers/net/ndis/ndis/miniport.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/drivers/net/ndis/ndis/miniport.c b/reactos/drivers/net/ndis/ndis/miniport.c index 6922fe429c7..1ed51665ec9 100644 --- a/reactos/drivers/net/ndis/ndis/miniport.c +++ b/reactos/drivers/net/ndis/ndis/miniport.c @@ -841,9 +841,11 @@ VOID STDCALL MiniportDpc( NDIS_DbgPrint(MAX_TRACE, ("back from miniport's Send handler\n")); } - NdisMSendComplete - ( Adapter, (PNDIS_PACKET)WorkItemContext, NdisStatus ); - Adapter->MiniportBusy = FALSE; + if( NdisStatus == NDIS_STATUS_PENDING ) { + NdisMSendComplete + ( Adapter, (PNDIS_PACKET)WorkItemContext, NdisStatus ); + Adapter->MiniportBusy = FALSE; + } break; case NdisWorkItemSendLoopback: