Commit in reactos/drivers/net/tcpip/datalink on MAIN | |||
lan.c | +3 | 1.33 -> 1.34 |
REVERT: - Don't call ProtocolSendComplete after NdisSend (NDIS should call it).
diff -u -r1.33 -r1.34 --- lan.c 13 Dec 2004 16:53:38 -0000 1.33 +++ lan.c 13 Dec 2004 17:13:24 -0000 1.34 @@ -672,6 +672,9 @@
LanChainCompletion( Adapter, NdisPacket ); TI_DbgPrint(MID_TRACE, ("NdisSend Done\n")); TcpipReleaseSpinLock( &Adapter->Lock, OldIrql );
+ + if (NdisStatus != NDIS_STATUS_PENDING) + ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NdisStatus);
} else { ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NDIS_STATUS_CLOSED); }