diff options
Diffstat (limited to 'drivers/net/bcm63xx_enet.c')
-rw-r--r-- | drivers/net/bcm63xx_enet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bcm63xx_enet.c b/drivers/net/bcm63xx_enet.c index ecfef240a303..e94a966af418 100644 --- a/drivers/net/bcm63xx_enet.c +++ b/drivers/net/bcm63xx_enet.c | |||
@@ -1097,7 +1097,7 @@ static int bcm_enet_stop(struct net_device *dev) | |||
1097 | enet_dma_writel(priv, 0, ENETDMA_IRMASK_REG(priv->tx_chan)); | 1097 | enet_dma_writel(priv, 0, ENETDMA_IRMASK_REG(priv->tx_chan)); |
1098 | 1098 | ||
1099 | /* make sure no mib update is scheduled */ | 1099 | /* make sure no mib update is scheduled */ |
1100 | flush_scheduled_work(); | 1100 | cancel_work_sync(&priv->mib_update_task); |
1101 | 1101 | ||
1102 | /* disable dma & mac */ | 1102 | /* disable dma & mac */ |
1103 | bcm_enet_disable_dma(priv, priv->tx_chan); | 1103 | bcm_enet_disable_dma(priv, priv->tx_chan); |