Skip to content

Commit

Permalink
ar76c50x-usb: cancel promisc work during mac80211 stop
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent c94dbff commit ebc8ab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/at76c50x-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1773,6 +1773,8 @@ static void at76_mac80211_stop(struct ieee80211_hw *hw)

at76_dbg(DBG_MAC80211, "%s()", __func__);

cancel_work_sync(&priv->work_set_promisc);

mutex_lock(&priv->mtx);

if (!priv->device_unplugged) {
Expand Down

0 comments on commit ebc8ab1

Please sign in to comment.