Message ID | 20110603210826.EA010203BB@glenhelen.mtv.corp.google.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 456cccf..41b9809 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2212,6 +2212,7 @@ 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
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> --- net/mac80211/mlme.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)