From: Ben Greear <greearb@xxxxxxxxxxxxxxx> Not sure this matters, but it seems cleaner. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- net/mac80211/mlme.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 732eda0..ebfa416 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4379,11 +4379,11 @@ void ieee80211_mgd_stop(struct ieee80211_sub_if_data *sdata) cancel_work_sync(&ifmgd->chswitch_work); mutex_lock(&ifmgd->mtx); + del_timer_sync(&ifmgd->timer); if (ifmgd->assoc_data) ieee80211_destroy_assoc_data(sdata, false, true); if (ifmgd->auth_data) ieee80211_destroy_auth_data(sdata, false); - del_timer_sync(&ifmgd->timer); mutex_unlock(&ifmgd->mtx); } -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html