Skip to content

Commit 990baec

Browse files
Felix Fietkaujmberg-intel
authored andcommitted
mac80211: suppress BSS info change notifications for AP_VLAN
Fixes warnings on tx power changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 00a9a6d commit 990baec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/mac80211/main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
199199
{
200200
struct ieee80211_local *local = sdata->local;
201201

202-
if (!changed)
202+
if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
203203
return;
204204

205205
drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed);

0 commit comments

Comments
 (0)