diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-23 14:28:03 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-24 16:19:34 -0500 |
commit | 46090979a55a0dc2cdb3d939f94fa47742108194 (patch) | |
tree | 4aedd5ca8bfc21dd5d97661d8a8262214d9e8ae7 /net/mac80211 | |
parent | 7ccc8bd7593634d827e8bc55898a5038e29848b5 (diff) |
mac80211: probe the AP when resuming
Check the connection by probing the AP (either using nullfunc or a
probe request). If nullfunc probing is supported and the assoc is no
longer valid, the AP will send a disassoc/deauth immediately.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/mlme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 729aba49cf98..849d9c639add 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2021,6 +2021,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata) | |||
2021 | if (test_and_clear_bit(TMR_RUNNING_CHANSW, &ifmgd->timers_running)) | 2021 | if (test_and_clear_bit(TMR_RUNNING_CHANSW, &ifmgd->timers_running)) |
2022 | add_timer(&ifmgd->chswitch_timer); | 2022 | add_timer(&ifmgd->chswitch_timer); |
2023 | ieee80211_sta_reset_beacon_monitor(sdata); | 2023 | ieee80211_sta_reset_beacon_monitor(sdata); |
2024 | ieee80211_restart_sta_timer(sdata); | ||
2024 | } | 2025 | } |
2025 | #endif | 2026 | #endif |
2026 | 2027 | ||