mac80211: restart beacon miss timer on system resume from suspend
authorFelix Fietkau <nbd@openwrt.org>
Fri, 19 Nov 2010 21:55:37 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Nov 2010 21:19:34 +0000 (16:19 -0500)
Signed-off-by: Paul Stewart <pstew@google.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c

index dfc4a31..84e24df 100644 (file)
@@ -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