Commit b2205256 authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

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: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5fbd7e24
...@@ -492,6 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev, ...@@ -492,6 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev,
ifsta->last_probe = jiffies; ifsta->last_probe = jiffies;
ieee80211_led_assoc(local, assoc); ieee80211_led_assoc(local, assoc);
sdata->bss_conf.assoc = assoc;
ieee80211_bss_info_change_notify(sdata, changed); ieee80211_bss_info_change_notify(sdata, changed);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment