Added missing pending check (pointed out by filip).

svn path=/trunk/; revision=12198
This commit is contained in:
Art Yerkes 2004-12-18 20:10:39 +00:00
parent 2fa970d484
commit 91bbf4471d

View file

@ -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: