aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-01-27 09:18:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:08 -0500
commitb22052569657925d6de33b19b2c7b7562900defb (patch)
treee9b36d41f0d342ddaa2140225fa42355e8f657c2 /net/mac80211
parent5fbd7e24da874a1c7b06ae6b10bbf2d71c1b6a11 (diff)
mac80211: set assoc flag to bss_conf
Only BSS_CHANGED_ASSOC was set in the 'changed' bitmask. Assignment to bss_conf.assoc was absent. This patch assign value to bss_conf.assoc according the association state. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ieee80211_sta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 9aeed5320228..79dadd2976cd 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -492,6 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev,
492 ifsta->last_probe = jiffies; 492 ifsta->last_probe = jiffies;
493 ieee80211_led_assoc(local, assoc); 493 ieee80211_led_assoc(local, assoc);
494 494
495 sdata->bss_conf.assoc = assoc;
495 ieee80211_bss_info_change_notify(sdata, changed); 496 ieee80211_bss_info_change_notify(sdata, changed);
496} 497}
497 498