mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
ar76c50x-usb: cancel promisc work during mac80211 stop
We weren't ever cancelling this. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Acked-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c94dbff799
commit
ebc8ab17d6
@ -1773,6 +1773,8 @@ static void at76_mac80211_stop(struct ieee80211_hw *hw)
|
|||||||
|
|
||||||
at76_dbg(DBG_MAC80211, "%s()", __func__);
|
at76_dbg(DBG_MAC80211, "%s()", __func__);
|
||||||
|
|
||||||
|
cancel_work_sync(&priv->work_set_promisc);
|
||||||
|
|
||||||
mutex_lock(&priv->mtx);
|
mutex_lock(&priv->mtx);
|
||||||
|
|
||||||
if (!priv->device_unplugged) {
|
if (!priv->device_unplugged) {
|
||||||
|
Loading…
Reference in New Issue
Block a user