diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-06 17:37:43 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-09 14:49:00 +0200 |
commit | 7d25745d05e7a0f0fb0d5e29bef40cb6326efc96 (patch) | |
tree | 2ceeabda37b314a95a02adce8a92d7ffa762a560 /net/mac80211/cfg.c | |
parent | 56af8f9af99223610f0582594bd4ac0a0320eb71 (diff) | |
download | linux-3.10-7d25745d05e7a0f0fb0d5e29bef40cb6326efc96.tar.gz linux-3.10-7d25745d05e7a0f0fb0d5e29bef40cb6326efc96.tar.bz2 linux-3.10-7d25745d05e7a0f0fb0d5e29bef40cb6326efc96.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index ccbe2413142..6a171e299b5 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; } |