提交 990baec0 编写于 作者: F Felix Fietkau 提交者: Johannes Berg

mac80211: suppress BSS info change notifications for AP_VLAN

Fixes warnings on tx power changes
Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 00a9a6d1
...@@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, ...@@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
{ {
struct ieee80211_local *local = sdata->local; struct ieee80211_local *local = sdata->local;
if (!changed) if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
return; return;
drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册