mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 12:44:24 +08:00
- Don't call NdisMSendComplete in MiniportSend
svn path=/branches/aicom-network-fixes/; revision=36501
This commit is contained in:
@@ -672,13 +672,9 @@ static NDIS_STATUS STDCALL MiniportSend(
|
||||
|
||||
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 @@ static NDIS_STATUS STDCALL MiniportSend(
|
||||
|
||||
/* Transmit the packet */
|
||||
NICTransmit(Adapter);
|
||||
#endif
|
||||
|
||||
return NDIS_STATUS_PENDING;
|
||||
#else
|
||||
return NDIS_STATUS_SUCCESS;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user