summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>2018-03-22 12:18:03 -0700
committerJohannes Berg <johannes.berg@intel.com>2018-03-23 13:23:17 +0100
commitdcbe73ca55a42712bfd0e9966cd2d5a48355ace3 (patch)
tree686c400ce8dccb53f3c2c2c9172d58f0b4cde5cd /net/mac80211/util.c
parent13cf6dec93e021ebd297619ea1926aea31b6430b (diff)
downloadlinux-stable-dcbe73ca55a42712bfd0e9966cd2d5a48355ace3.tar.gz
linux-stable-dcbe73ca55a42712bfd0e9966cd2d5a48355ace3.tar.bz2
linux-stable-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/util.c')
-rw-r--r--net/mac80211/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 1f82191ce601..55cd2922627a 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1968,7 +1968,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
BSS_CHANGED_CQM |
BSS_CHANGED_QOS |
BSS_CHANGED_IDLE |
- BSS_CHANGED_TXPOWER;
+ BSS_CHANGED_TXPOWER |
+ BSS_CHANGED_MCAST_RATE;
if (sdata->vif.mu_mimo_owner)
changed |= BSS_CHANGED_MU_GROUPS;