diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 347d002fa4251e37b704eafee089768e484ea3c8..69046a109ac32135bc21da9eb529982351c11f29 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) struct be_eq_obj *tx_eq = &adapter->tx_eq; int vec; - cancel_delayed_work(&adapter->work); + cancel_delayed_work_sync(&adapter->work); netif_stop_queue(netdev); netif_carrier_off(netdev);