aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 3ef24b9eab3e..5397de1fc8d2 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -6573,10 +6573,8 @@ static void bnx2x_netif_stop(struct bnx2x *bp, int disable_hw)
6573{ 6573{
6574 bnx2x_int_disable_sync(bp, disable_hw); 6574 bnx2x_int_disable_sync(bp, disable_hw);
6575 bnx2x_napi_disable(bp); 6575 bnx2x_napi_disable(bp);
6576 if (netif_running(bp->dev)) { 6576 netif_tx_disable(bp->dev);
6577 netif_tx_disable(bp->dev); 6577 bp->dev->trans_start = jiffies; /* prevent tx timeout */
6578 bp->dev->trans_start = jiffies; /* prevent tx timeout */
6579 }
6580} 6578}
6581 6579
6582/* 6580/*