From: nbd Date: Mon, 21 Mar 2011 03:24:12 +0000 (+0000) Subject: mac80211: backport the inactivity timeout fix from r26251 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=31b143ad0e3306967f2810a84b21ee1cefbeab20 mac80211: backport the inactivity timeout fix from r26251 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26252 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/mac80211/patches/562-mac80211_initialize_last_rx.patch b/package/mac80211/patches/562-mac80211_initialize_last_rx.patch new file mode 100644 index 000000000..edcc227e9 --- /dev/null +++ b/package/mac80211/patches/562-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); +