Author: cgutman
Date: Wed Jun 3 05:48:47 2009
New Revision: 41265
URL:
http://svn.reactos.org/svn/reactos?rev=41265&view=rev
Log:
- Remove an incorrect comment (I wasn't thinking when I wrote it ;))
- Add an ASSERT for an unhandled case
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Wed Jun 3 05:48:47
2009
@@ -441,7 +441,6 @@
KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
- /* Should we free this before or after calling SendComplete? */
if (Adapter->NdisMiniportBlock.ScatterGatherListSize != 0)
{
NDIS_DbgPrint(MAX_TRACE, ("Freeing Scatter/Gather list\n"));
@@ -684,6 +683,8 @@
KeLowerIrql(OldIrql);
/* FIXME: Wait in pending case! */
+
+ ASSERT(NdisStatus != NDIS_STATUS_PENDING);
return NdisStatus;
}