aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-01-27 16:18:22 +0200
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 9aeed532022..79dadd2976c 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,
ifsta->last_probe = jiffies;
ieee80211_led_assoc(local, assoc);
+ sdata->bss_conf.assoc = assoc;
ieee80211_bss_info_change_notify(sdata, changed);
}