aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atarilance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/atarilance.c')
-rw-r--r--drivers/net/atarilance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c
index 0c0deceb6938..c5721cb38265 100644
--- a/drivers/net/atarilance.c
+++ b/drivers/net/atarilance.c
@@ -930,8 +930,8 @@ static irqreturn_t lance_interrupt( int irq, void *dev_id )
930 } 930 }
931#endif 931#endif
932 932
933 if (lp->tx_full && (netif_queue_stopped(dev)) 933 if (lp->tx_full && (netif_queue_stopped(dev)) &&
934 && dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) { 934 dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) {
935 /* The ring is no longer full, clear tbusy. */ 935 /* The ring is no longer full, clear tbusy. */
936 lp->tx_full = 0; 936 lp->tx_full = 0;
937 netif_wake_queue (dev); 937 netif_wake_queue (dev);