aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2011-06-10 11:00:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-17 14:22:16 -0400
commita6af1d848179c17deb94621c2e761769f0d99355 (patch)
treed30ff05545193fd745ae9368505934f9c5629524 /net/mac80211
parentb2ea345eab568062b321bcd3b8d72f14c93dbb63 (diff)
mac80211: Start monitor work on restart
Trigger connection monitor on resume from suspend. Since we have been sleeping, there is reason to suspect that we might not still be associated. The speed of detecting loss of {connection,authentication} is worth the cost of the small additional traffic at resume. Signed-off-by: Paul Stewart <pstew@chromium.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 0c6e9ef8c7f..faca5033f06 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2206,6 +2206,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata)
2206 add_timer(&ifmgd->chswitch_timer); 2206 add_timer(&ifmgd->chswitch_timer);
2207 ieee80211_sta_reset_beacon_monitor(sdata); 2207 ieee80211_sta_reset_beacon_monitor(sdata);
2208 ieee80211_restart_sta_timer(sdata); 2208 ieee80211_restart_sta_timer(sdata);
2209 ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.monitor_work);
2209} 2210}
2210#endif 2211#endif
2211 2212