aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-08 22:11:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-08 22:11:27 +0000
commit2dd9057feb01dc91c4bbd6e299986be34bd77751 (patch)
treee55102bc4886ecf5ce7bfcfb04ff747ed047dd24 /package/kernel/mac80211
parent4012b63ad34b63d80affb94ffd6a65f877b3f3d3 (diff)
downloadupstream-2dd9057feb01dc91c4bbd6e299986be34bd77751.tar.gz
upstream-2dd9057feb01dc91c4bbd6e299986be34bd77751.tar.bz2
upstream-2dd9057feb01dc91c4bbd6e299986be34bd77751.zip
mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/300-pending_work.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/300-pending_work.patch b/package/kernel/mac80211/patches/300-pending_work.patch
index 31eab5e402..234006355b 100644
--- a/package/kernel/mac80211/patches/300-pending_work.patch
+++ b/package/kernel/mac80211/patches/300-pending_work.patch
@@ -1,3 +1,13 @@
+commit 0ca13e26341733bf9577287fb04a3bef0d2f5cc9
+Author: Felix Fietkau <nbd@openwrt.org>
+Date: Wed Apr 9 00:07:01 2014 +0200
+
+ mac80211: suppress BSS info change notifications for AP_VLAN
+
+ Fixes warnings on tx power changes
+
+ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+
commit ec998e5991781ecdaad0911dc64f1c8d3749c308
Author: Felix Fietkau <nbd@openwrt.org>
Date: Tue Apr 8 23:42:17 2014 +0200
@@ -55,3 +65,14 @@ Date: Sun Apr 6 23:35:28 2014 +0200
}
void ath9k_beacon_tasklet(unsigned long data)
+--- a/net/mac80211/main.c
++++ b/net/mac80211/main.c
+@@ -203,7 +203,7 @@ void ieee80211_bss_info_change_notify(st
+ {
+ 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);