aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-09-23 20:15:52 +0200
committerJohn Crispin <john@phrozen.org>2018-09-26 16:39:45 +0200
commitc662299bf98b6214628168379edd642f1b942b98 (patch)
treede61647a9b56addd7f0a826bb953697ebe8dcb4f /package/kernel/ath10k-ct/patches/100-kernel_compat.patch
parent02e7fa6f8ac11b379b931d9d2089f1be91274afb (diff)
downloadupstream-c662299bf98b6214628168379edd642f1b942b98.tar.gz
upstream-c662299bf98b6214628168379edd642f1b942b98.tar.bz2
upstream-c662299bf98b6214628168379edd642f1b942b98.zip
ath10k-ct: update to version ath10k-4.16
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/100-kernel_compat.patch')
-rw-r--r--package/kernel/ath10k-ct/patches/100-kernel_compat.patch13
1 files changed, 12 insertions, 1 deletions
diff --git a/package/kernel/ath10k-ct/patches/100-kernel_compat.patch b/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
index b2ec10bb61..df7a3b2a86 100644
--- a/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
+++ b/package/kernel/ath10k-ct/patches/100-kernel_compat.patch
@@ -97,7 +97,18 @@
ATH10K_DFS_STAT_INC(ar, pulses_total);
--- a/ath10k-4.13/wmi.c
+++ b/ath10k-4.13/wmi.c
-@@ -3990,7 +3990,7 @@ static void ath10k_dfs_radar_report(stru
+@@ -4031,7 +4031,7 @@ static void ath10k_dfs_radar_report(stru
+
+ ATH10K_DFS_STAT_INC(ar, pulses_detected);
+
+- if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe)) {
++ if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe, NULL)) {
+ ath10k_dbg(ar, ATH10K_DBG_REGULATORY,
+ "dfs no pulse pattern detected, yet\n");
+ return;
+--- a/ath10k-4.16/wmi.c
++++ b/ath10k-4.16/wmi.c
+@@ -4061,7 +4061,7 @@ static void ath10k_dfs_radar_report(stru
ATH10K_DFS_STAT_INC(ar, pulses_detected);