Commit 990baec0 authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg
Browse files

mac80211: suppress BSS info change notifications for AP_VLAN



Fixes warnings on tx power changes

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 00a9a6d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);