aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 347d002fa425..69046a109ac3 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1533,7 +1533,7 @@ static int be_close(struct net_device *netdev)
1533 struct be_eq_obj *tx_eq = &adapter->tx_eq; 1533 struct be_eq_obj *tx_eq = &adapter->tx_eq;
1534 int vec; 1534 int vec;
1535 1535
1536 cancel_delayed_work(&adapter->work); 1536 cancel_delayed_work_sync(&adapter->work);
1537 1537
1538 netif_stop_queue(netdev); 1538 netif_stop_queue(netdev);
1539 netif_carrier_off(netdev); 1539 netif_carrier_off(netdev);