From: Tomas Winkler Date: Sun, 27 Jan 2008 14:18:22 +0000 (+0200) Subject: mac80211: set assoc flag to bss_conf X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b22052569657925d6de33b19b2c7b7562900defb;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: John W. Linville --- 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, ifsta->last_probe = jiffies; ieee80211_led_assoc(local, assoc); + sdata->bss_conf.assoc = assoc; ieee80211_bss_info_change_notify(sdata, changed); }