Author: cgutman
Date: Wed Sep 24 22:23:15 2008
New Revision: 36501
URL:
http://svn.reactos.org/svn/reactos?rev=36501&view=rev
Log:
- Don't call NdisMSendComplete in MiniportSend
Modified:
branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c
Modified: branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] Wed
Sep 24 22:23:15 2008
@@ -672,13 +672,9 @@
ASSERT_IRQL_EQUAL(DISPATCH_LEVEL);
+#ifndef NOCARD
NDIS_DbgPrint(MID_TRACE, ("Queueing packet.\n"));
-#ifdef NOCARD
- NdisMSendComplete(Adapter->MiniportAdapterHandle,
- Packet,
- NDIS_STATUS_SUCCESS);
-#else
/* Queue the packet on the transmit queue */
RESERVED(Packet)->Next = NULL;
if (Adapter->TXQueueHead == NULL) {
@@ -691,8 +687,11 @@
/* Transmit the packet */
NICTransmit(Adapter);
+
+ return NDIS_STATUS_PENDING;
+#else
+ return NDIS_STATUS_SUCCESS;
#endif
- return NDIS_STATUS_PENDING;
}