summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch')
-rw-r--r--package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch b/package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch
new file mode 100644
index 0000000..e54e16e
--- /dev/null
+++ b/package/kernel/mac80211/patches/302-ath9k-restart-only-triggering-DFS-detector-line.patch
@@ -0,0 +1,21 @@
+From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
+Date: Tue, 10 Mar 2015 17:49:29 +0100
+Subject: [PATCH] ath9k: restart only triggering DFS detector line
+
+To support HT40 DFS mode, a triggering detector must
+reset only itself but not other detector lines.
+
+Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
+---
+
+--- a/drivers/net/wireless/ath/dfs_pattern_detector.c
++++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
+@@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detecto
+ "count=%d, count_false=%d\n",
+ event->freq, pd->rs->type_id,
+ ps->pri, ps->count, ps->count_falses);
+- channel_detector_reset(dpd, cd);
++ pd->reset(pd, dpd->last_pulse_ts);
+ return true;
+ }
+ }