Author: cgutman
Date: Thu Sep 25 22:35:56 2008
New Revision: 36527
URL:
http://svn.reactos.org/svn/reactos?rev=36527&view=rev
Log:
- Return early if there aren't any packets to be sent
- Fixes coverity error 458
Modified:
branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/8390.c
Modified: branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/8390.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1] Thu
Sep 25 22:35:56 2008
@@ -544,6 +544,8 @@
UCHAR Tmp;
NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
+
+ if (Adapter->TXCurrent < 0) return;
//FrameStart = Adapter->TXStart + Adapter->TXCurrent * DRIVER_BLOCK_SIZE;
//FrameStart = Adapter->TXStart;