diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2013-02-13 15:14:19 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 03:41:09 -0500 |
commit | 39886b618aba3c39e650c191d601e26ec581ce0f (patch) | |
tree | 6a68823a37ba8e3b68293ad78d572653a5e0c72b /net/mac80211/mesh.c | |
parent | de74a1d9032f4d37ea453ad2a647e1aff4cd2591 (diff) |
mac80211: consolidate MBSS change notification
A few mesh utility functions will call
ieee80211_bss_info_change_notify(), and then the caller
might notify the driver of the same change again. Avoid
this redundancy by propagating the BSS changes and
generally calling bss_info_change_notify() once per
change.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r-- | net/mac80211/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 2bf0158c3f82..0adec3d539d3 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -675,7 +675,7 @@ void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata) | |||
675 | sdata->vif.bss_conf.basic_rates = | 675 | sdata->vif.bss_conf.basic_rates = |
676 | ieee80211_mandatory_rates(local, band); | 676 | ieee80211_mandatory_rates(local, band); |
677 | 677 | ||
678 | ieee80211_mps_local_status_update(sdata); | 678 | changed |= ieee80211_mps_local_status_update(sdata); |
679 | 679 | ||
680 | ieee80211_bss_info_change_notify(sdata, changed); | 680 | ieee80211_bss_info_change_notify(sdata, changed); |
681 | 681 | ||