From: Felix Fietkau Date: Fri, 19 Nov 2010 21:55:37 +0000 (+0100) Subject: mac80211: restart beacon miss timer on system resume from suspend X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c8a7972c3b3633bf90daf50b135665d8ca4838c4;p=linux-beck.git mac80211: restart beacon miss timer on system resume from suspend Signed-off-by: Paul Stewart Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index dfc4a316ac1c..84e24df234e2 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2012,6 +2012,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata) add_timer(&ifmgd->timer); if (test_and_clear_bit(TMR_RUNNING_CHANSW, &ifmgd->timers_running)) add_timer(&ifmgd->chswitch_timer); + ieee80211_sta_reset_beacon_monitor(sdata); } #endif