diff options
Diffstat (limited to 'package/kernel/ath10k-ct/patches/100-kernel_compat.patch')
-rw-r--r-- | package/kernel/ath10k-ct/patches/100-kernel_compat.patch | 13 |
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); |