Commit in reactos/drivers/net/ndis/ndis on MAIN
miniport.c+5-31.48 -> 1.49
Added missing pending check (pointed out by filip).

reactos/drivers/net/ndis/ndis
miniport.c 1.48 -> 1.49
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:
CVSspam 0.2.8