aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-07 19:41:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-07 19:41:07 +0000
commit740c755805810f7179891099bae984436f20ff56 (patch)
treea7ecfe2ea1bef247c584adce22f49301b08fd957 /package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
parent82e2aeb59952899bd0dbcf728d2e2788570a2561 (diff)
downloadupstream-740c755805810f7179891099bae984436f20ff56.tar.gz
upstream-740c755805810f7179891099bae984436f20ff56.tar.bz2
upstream-740c755805810f7179891099bae984436f20ff56.zip
mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43210
Diffstat (limited to 'package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch')
-rw-r--r--package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch b/package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
new file mode 100644
index 0000000000..96cd78b3f2
--- /dev/null
+++ b/package/kernel/mac80211/patches/303-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
@@ -0,0 +1,20 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Date: Wed, 22 Oct 2014 18:44:03 +0200
+Subject: [PATCH] ath10k: add SURVEY_INFO_IN_USE for current channel on
+ survey
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+---
+
+--- a/drivers/net/wireless/ath/ath10k/mac.c
++++ b/drivers/net/wireless/ath/ath10k/mac.c
+@@ -4044,6 +4044,9 @@ static int ath10k_get_survey(struct ieee
+
+ survey->channel = &sband->channels[idx];
+
++ if (ar->rx_channel == survey->channel)
++ survey->filled |= SURVEY_INFO_IN_USE;
++
+ exit:
+ mutex_unlock(&ar->conf_mutex);
+ return ret;