mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Return early if there aren't any packets to be sent
- Fixes coverity error 458 svn path=/branches/aicom-network-fixes/; revision=36527
This commit is contained in:
@@ -545,6 +545,8 @@ static VOID NICStartTransmit(
|
||||
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
|
||||
|
||||
if (Adapter->TXCurrent < 0) return;
|
||||
|
||||
//FrameStart = Adapter->TXStart + Adapter->TXCurrent * DRIVER_BLOCK_SIZE;
|
||||
//FrameStart = Adapter->TXStart;
|
||||
FrameStart = (UCHAR)(Adapter->TXStart + (UCHAR)(Adapter->TXCurrent * BUFFERS_PER_TX_BUF));
|
||||
|
||||
Reference in New Issue
Block a user