mac80211: suppress BSS info change notifications for AP_VLAN
authorFelix Fietkau <nbd@openwrt.org>
Tue, 8 Apr 2014 22:08:01 +0000 (00:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Apr 2014 07:37:01 +0000 (09:37 +0200)
Fixes warnings on tx power changes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c

index b055f6a55c68e231c5bc73393a7817309a0ed10d..4172d4253197a77212c76e930d0f2a437c8ea973 100644 (file)
@@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
 {
        struct ieee80211_local *local = sdata->local;
 
-       if (!changed)
+       if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
                return;
 
        drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed);