]> err.no Git - linux-2.6/commitdiff
mac80211: update new sta's rx timestamp
authorRon Rindjunsky <ron.rindjunsky@intel.com>
Sat, 9 Aug 2008 21:54:34 +0000 (00:54 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Aug 2008 15:05:13 +0000 (11:05 -0400)
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>
net/mac80211/mlme.c

index e1d11c9b6729e0145866ab9df120ada75601fda1..1e97fb9fb34bde3f88988e42cd546b43d95a5b6e 100644 (file)
@@ -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;
        }
 
        /*