1 From c8716d9dc13c7f6ee92f2bfc6cc3b723b417bff8 Mon Sep 17 00:00:00 2001
2 From: Rajkumar Manoharan <rmanoharan@atheros.com>
3 Date: Sat, 23 Oct 2010 10:59:57 +0530
4 Subject: mac80211: Fix ibss station got expired immediately
6 From: Rajkumar Manoharan <rmanoharan@atheros.com>
8 commit c8716d9dc13c7f6ee92f2bfc6cc3b723b417bff8 upstream.
10 Station addition in ieee80211_ibss_rx_queued_mgmt is not updating
11 sta->last_rx which is causing station expiry in ieee80211_ibss_work
12 path. So sta addition and deletion happens repeatedly.
14 Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
15 Signed-off-by: John W. Linville <linville@tuxdriver.com>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 net/mac80211/ibss.c | 1 +
20 1 file changed, 1 insertion(+)
22 --- a/net/mac80211/ibss.c
23 +++ b/net/mac80211/ibss.c
24 @@ -435,6 +435,7 @@ struct sta_info *ieee80211_ibss_add_sta(
28 + sta->last_rx = jiffies;
29 set_sta_flags(sta, WLAN_STA_AUTHORIZED);
31 /* make sure mandatory rates are always added */