mac80211: update to wireless-testing 2014-11-04
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 343-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
diff --git a/package/kernel/mac80211/patches/343-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch b/package/kernel/mac80211/patches/343-ath10k-add-SURVEY_INFO_IN_USE-for-current-channel-on.patch
deleted file mode 100644 (file)
index a9cba1d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-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
-@@ -3975,6 +3975,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;