summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-08-09 23:54:34 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-08-18 17:05:13 +0200
commita61dae1f784f0c4ced0d47721c0efc7033231522 (patch)
treeec180a4272c17607a695b6c9fc040b985b14e28e
parentath5k: Don't fiddle with MSI on suspend/resume. (diff)
downloadlinux-a61dae1f784f0c4ced0d47721c0efc7033231522.tar.xz
linux-a61dae1f784f0c4ced0d47721c0efc7033231522.zip
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 <ron.rindjunsky@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index e1d11c9b6729..1e97fb9fb34b 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;
}
/*