diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-23 20:28:03 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-24 16:19:34 -0500 |
commit | 46090979a55a0dc2cdb3d939f94fa47742108194 (patch) | |
tree | 4aedd5ca8bfc21dd5d97661d8a8262214d9e8ae7 /net/mac80211/mlme.c | |
parent | 7ccc8bd7593634d827e8bc55898a5038e29848b5 (diff) | |
download | op-kernel-dev-46090979a55a0dc2cdb3d939f94fa47742108194.zip op-kernel-dev-46090979a55a0dc2cdb3d939f94fa47742108194.tar.gz |
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/mlme.c')
-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 729aba4..849d9c6 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) if (test_and_clear_bit(TMR_RUNNING_CHANSW, &ifmgd->timers_running)) add_timer(&ifmgd->chswitch_timer); ieee80211_sta_reset_beacon_monitor(sdata); + ieee80211_restart_sta_timer(sdata); } #endif |