mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 05:39:25 +02:00
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);
|
||
|
|