aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-08 18:08:01 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-04-11 03:37:01 -0400
commit990baec022ccb97b6bb4185624f4fe7cd6150333 (patch)
tree0356ce64e7f986b0b0cfcc5519b2284c0947a7be /net/mac80211/main.c
parent00a9a6d1e2f18c193d28409bfafc890d78adef68 (diff)
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>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index b055f6a55c68..4172d4253197 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
199{ 199{
200 struct ieee80211_local *local = sdata->local; 200 struct ieee80211_local *local = sdata->local;
201 201
202 if (!changed) 202 if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
203 return; 203 return;
204 204
205 drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); 205 drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed);