diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 03:19:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 03:19:35 +0000 |
commit | eaa07dd900e975d5c51123b9756bf85ababa1022 (patch) | |
tree | 13ab2c9bf7396831e9159d0e4c88c1176b17eb01 /package/mac80211 | |
parent | 562468651d8d9c628a38f09e05abb3e71d8730ff (diff) | |
download | upstream-eaa07dd900e975d5c51123b9756bf85ababa1022.tar.gz upstream-eaa07dd900e975d5c51123b9756bf85ababa1022.tar.bz2 upstream-eaa07dd900e975d5c51123b9756bf85ababa1022.zip |
mac80211: initialize the last rx time when creating a station
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
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/570-mac80211_initialize_last_rx.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/570-mac80211_initialize_last_rx.patch b/package/mac80211/patches/570-mac80211_initialize_last_rx.patch new file mode 100644 index 0000000000..edcc227e9b --- /dev/null +++ b/package/mac80211/patches/570-mac80211_initialize_last_rx.patch @@ -0,0 +1,10 @@ +--- 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); + |