aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r--drivers/net/e100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 2b06e4b4dabc..68316f15a7cb 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1997,7 +1997,7 @@ static int e100_poll(struct napi_struct *napi, int budget)
1997 tx_cleaned = e100_tx_clean(nic); 1997 tx_cleaned = e100_tx_clean(nic);
1998 1998
1999 /* If no Rx and Tx cleanup work was done, exit polling mode. */ 1999 /* If no Rx and Tx cleanup work was done, exit polling mode. */
2000 if((!tx_cleaned && (work_done == 0)) || !netif_running(netdev)) { 2000 if((!tx_cleaned && (work_done == 0))) {
2001 netif_rx_complete(netdev, napi); 2001 netif_rx_complete(netdev, napi);
2002 e100_enable_irq(nic); 2002 e100_enable_irq(nic);
2003 } 2003 }