mirror of
https://github.com/reactos/reactos.git
synced 2025-06-08 19:00:42 +00:00
REVERT:
- Don't call ProtocolSendComplete after NdisSend (NDIS should call it). svn path=/trunk/; revision=12087
This commit is contained in:
parent
04afe309b7
commit
f687a8456d
1 changed files with 3 additions and 0 deletions
|
@ -672,6 +672,9 @@ VOID LANTransmit(
|
||||||
LanChainCompletion( Adapter, NdisPacket );
|
LanChainCompletion( Adapter, NdisPacket );
|
||||||
TI_DbgPrint(MID_TRACE, ("NdisSend Done\n"));
|
TI_DbgPrint(MID_TRACE, ("NdisSend Done\n"));
|
||||||
TcpipReleaseSpinLock( &Adapter->Lock, OldIrql );
|
TcpipReleaseSpinLock( &Adapter->Lock, OldIrql );
|
||||||
|
|
||||||
|
if (NdisStatus != NDIS_STATUS_PENDING)
|
||||||
|
ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NdisStatus);
|
||||||
} else {
|
} else {
|
||||||
ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NDIS_STATUS_CLOSED);
|
ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NDIS_STATUS_CLOSED);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue