Skip to contentSkip to conversation

mac80211: suppress BSS info change notifications for AP_VLAN

PATCH Applied Felix Fietkau 2 participants 2 messages Apr 8, 2014 – Apr 11, 2014 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: suppress BSS info change notifications for AP_VLAN

Fixes warnings on tx power changes

---
 net/mac80211/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/main.c +1 -1
index b055f6a5..4172d42 100644
@@ -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);
Signature · 1 line
1.8.5.2 (Apple Git-48)
maintainer Applied
#1 lore raw
Quoted 1 line · Felix Fietkau

Fixes warnings on tx power changes

Applied.

johannes