2014-04-08 22:08:04

by Felix Fietkau

[permalink] [raw]
Subject: [PATCH 3.15] mac80211: suppress BSS info change notifications for AP_VLAN

Fixes warnings on tx power changes

Signed-off-by: Felix Fietkau <[email protected]>
---
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)



2014-04-11 07:37:49

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH 3.15] mac80211: suppress BSS info change notifications for AP_VLAN

On Wed, 2014-04-09 at 00:08 +0200, Felix Fietkau wrote:
> Fixes warnings on tx power changes

Applied.

johannes