* [PATCH 3.15] mac80211: suppress BSS info change notifications for AP_VLAN
@ 2014-04-08 22:08 Felix Fietkau
2014-04-11 7:37 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2014-04-08 22:08 UTC (permalink / raw)
To: linux-wireless; +Cc: johannes
Fixes warnings on tx power changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
net/mac80211/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index b055f6a5..4172d42 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,
{
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);
--
1.8.5.2 (Apple Git-48)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-11 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 22:08 [PATCH 3.15] mac80211: suppress BSS info change notifications for AP_VLAN Felix Fietkau
2014-04-11 7:37 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).