From: Eliad Peller Date: Sun, 19 Feb 2012 13:26:10 +0000 (+0200) Subject: mac80211: remove redundant monitor_work enqueueing X-Git-Tag: firefly_0821_release~3680^2~3338^2~108^2~283 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b5773ebd5c9719aec30e58429db2d3b3f343d2c;p=firefly-linux-kernel-4.4.55.git mac80211: remove redundant monitor_work enqueueing ieee80211_restart_sta_timer() takes care for enqueueing monitor_work if needed, so no need to do it again. Signed-off-by: Eliad Peller Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 7ece99a59805..586d4fb8e130 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -3048,7 +3048,6 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata) add_timer(&ifmgd->chswitch_timer); ieee80211_sta_reset_beacon_monitor(sdata); ieee80211_restart_sta_timer(sdata); - ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.monitor_work); } #endif