Author: cgutman
Date: Fri Sep 19 18:51:26 2008
New Revision: 36336
URL:
http://svn.reactos.org/svn/reactos?rev=36336&view=rev
Log:
- Queue the packet again if we currently don't have enough resources to process it
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] Fri Sep
19 18:51:26 2008
@@ -818,7 +818,10 @@
KeLowerIrql(RaiseOldIrql);
}
}
- if( NdisStatus != NDIS_STATUS_PENDING ) {
+
+ if( NdisStatus == NDIS_STATUS_RESOURCES )
+ MiniQueueWorkItem(Adapter, WorkItemType, WorkItemContext);
+ else if( NdisStatus != NDIS_STATUS_PENDING ) {
NdisMSendComplete
( Adapter, (PNDIS_PACKET)WorkItemContext, NdisStatus );
Adapter->MiniportBusy = FALSE;