Skip to content

Commit

Permalink
mac80211: set assoc flag to bss_conf
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Feb 29, 2008
1 parent 5fbd7e2 commit b220525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/mac80211/ieee80211_sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b220525

Please sign in to comment.