aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/at76c50x-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
-rw-r--r--drivers/net/wireless/at76c50x-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c
index 13303fa34734..bbf5277aeef4 100644
--- a/drivers/net/wireless/at76c50x-usb.c
+++ b/drivers/net/wireless/at76c50x-usb.c
@@ -1773,6 +1773,8 @@ static void at76_mac80211_stop(struct ieee80211_hw *hw)
1773 1773
1774 at76_dbg(DBG_MAC80211, "%s()", __func__); 1774 at76_dbg(DBG_MAC80211, "%s()", __func__);
1775 1775
1776 cancel_work_sync(&priv->work_set_promisc);
1777
1776 mutex_lock(&priv->mtx); 1778 mutex_lock(&priv->mtx);
1777 1779
1778 if (!priv->device_unplugged) { 1780 if (!priv->device_unplugged) {