mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
mac80211: backport the inactivity timeout fix from r26251
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26252 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a5908806d0
commit
31b143ad0e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user