mac80211: set assoc flag to bss_conf
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 27 Jan 2008 14:18:22 +0000 (16:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:08 +0000 (15:19 -0500)
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>
net/mac80211/ieee80211_sta.c

index 9aeed5320228bfd0e1df34d600c0c725498be7f9..79dadd2976cd47e9aa4a50df4f4c598126fe18b2 100644 (file)
@@ -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);
 }