提交 ebc8ab17 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

ar76c50x-usb: cancel promisc work during mac80211 stop

We weren't ever cancelling this.
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: NKalle Valo <kalle.valo@iki.fi>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 c94dbff7
...@@ -1773,6 +1773,8 @@ static void at76_mac80211_stop(struct ieee80211_hw *hw) ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册