reactos/drivers/net/ndis/ndis
diff -u -r1.48 -r1.49
--- miniport.c 18 Dec 2004 19:32:40 -0000 1.48
+++ miniport.c 18 Dec 2004 20:10:39 -0000 1.49
@@ -841,9 +841,11 @@
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: