From: Ron Rindjunsky Date: Sat, 9 Aug 2008 21:54:34 +0000 (+0300) Subject: mac80211: update new sta's rx timestamp X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a61dae1f784f0c4ced0d47721c0efc7033231522;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git mac80211: update new sta's rx timestamp This patch fixes needless probe request caused by zero value in sta->last_rx inside ieee80211_associated flow Signed-off-by: Ron Rindjunsky Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index e1d11c9b672..1e97fb9fb34 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2103,6 +2103,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata, rcu_read_unlock(); return; } + /* update new sta with its last rx activity */ + sta->last_rx = jiffies; } /*