summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorPradeep Kumar Chitrapu2018-03-22 20:18:03 +0100
committerJohannes Berg2018-03-23 13:23:17 +0100
commitdcbe73ca55a42712bfd0e9966cd2d5a48355ace3 (patch)
tree686c400ce8dccb53f3c2c2c9172d58f0b4cde5cd /net/mac80211/ibss.c
parentcfg80211/nl80211: add DFS offload flag (diff)
downloadkernel-qcow2-linux-dcbe73ca55a42712bfd0e9966cd2d5a48355ace3.tar.gz
kernel-qcow2-linux-dcbe73ca55a42712bfd0e9966cd2d5a48355ace3.tar.xz
kernel-qcow2-linux-dcbe73ca55a42712bfd0e9966cd2d5a48355ace3.zip
mac80211: notify driver for change in multicast rates
With drivers implementing rate control in driver or firmware rate_control_send_low() may not get called, and thus the driver needs to know about changes in the multicast rate. Add and use a new BSS change flag for this. Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> [rewrite commit message] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index db07e0de9a03..dc582aa35c89 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -1839,7 +1839,7 @@ int ieee80211_ibss_join(struct ieee80211_sub_if_data *sdata,
IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED
| IEEE80211_HT_PARAM_RIFS_MODE;
- changed |= BSS_CHANGED_HT;
+ changed |= BSS_CHANGED_HT | BSS_CHANGED_MCAST_RATE;
ieee80211_bss_info_change_notify(sdata, changed);
sdata->smps_mode = IEEE80211_SMPS_OFF;