summaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-06 17:37:43 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-07-09 14:49:00 +0200
commit7d25745d05e7a0f0fb0d5e29bef40cb6326efc96 (patch)
tree2ceeabda37b314a95a02adce8a92d7ffa762a560 /net/mac80211/cfg.c
parent56af8f9af99223610f0582594bd4ac0a0320eb71 (diff)
mac80211: update BSS info on AC parameters change
When the AC parameters change, drivers might rely on getting a bss_info_changed notification with BSS_CHANGED_QOS in addition to the conf_tx call. Always call the function when userspace updates are made (in AP/GO modes) and also set the change flag when updates were made by the AP (in managed mode.) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index ccbe2413142a..6a171e299b57 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1741,6 +1741,8 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
return -EINVAL;
}
+ ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_QOS);
+
return 0;
}