eaa07dd900
should hopefully finally take care of the nasty reassociation issues which showed up as Jan 1 00:51:10 OpenWrt daemon.info hostapd: wlan0: STA 00:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity right after associating, leading to an immediate disconnect. Will probably fix #8343, #8830 and others. SVN-Revision: 26251
11 lines
276 B
Diff
11 lines
276 B
Diff
--- a/net/mac80211/sta_info.c
|
|
+++ b/net/mac80211/sta_info.c
|
|
@@ -243,6 +243,7 @@ struct sta_info *sta_info_alloc(struct i
|
|
memcpy(sta->sta.addr, addr, ETH_ALEN);
|
|
sta->local = local;
|
|
sta->sdata = sdata;
|
|
+ sta->last_rx = jiffies;
|
|
|
|
ewma_init(&sta->avg_signal, 1024, 8);
|
|
|