summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-04-11 19:40:31 +0000
committerChristian Marangi2025-04-11 19:40:31 +0000
commitb68173500a1a6455a0faa3c4d54b2c62cf8593f1 (patch)
treeb9aa12713f66fd0d97bc79e9f5839070e3b9e4b2
parent473cfb4ff532210cfdd564b56f48aecf8b610e69 (diff)
downloadopenwrt-b68173500a1a6455a0faa3c4d54b2c62cf8593f1.tar.gz
ath10k-ct: partially revert removal of 003 patch
Partially revert removal of 003 patch to fix compilation error with kernel 6.6. In 6.6 .remove still require int and .remove_new needs to be used. Fixes: bfb106e8ae73 ("mac80211: backport API change for sta rate control update") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/kernel/ath10k-ct/patches/003-ath10k-ct-make-it-compatible-with-the-old-LTS-kernel.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/ath10k-ct/patches/003-ath10k-ct-make-it-compatible-with-the-old-LTS-kernel.patch b/package/kernel/ath10k-ct/patches/003-ath10k-ct-make-it-compatible-with-the-old-LTS-kernel.patch
new file mode 100644
index 0000000000..4f1918cf52
--- /dev/null
+++ b/package/kernel/ath10k-ct/patches/003-ath10k-ct-make-it-compatible-with-the-old-LTS-kernel.patch
@@ -0,0 +1,22 @@
+From: Shiji Yang <yangshiji66@outlook.com>
+Date: Fri, 28 Mar 2025 19:56:06 +0800
+Subject: [PATCH] ath10k-ct: make it compatible with the old LTS kernel
+
+Rollback some APIs to fix compilation errors.
+
+Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+---
+ ath10k-6.14/ahb.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/ath10k-6.14/ahb.c
++++ b/ath10k-6.14/ahb.c
+@@ -842,7 +842,7 @@ static struct platform_driver ath10k_ahb
+ .of_match_table = ath10k_ahb_of_match,
+ },
+ .probe = ath10k_ahb_probe,
+- .remove = ath10k_ahb_remove,
++ .remove_new = ath10k_ahb_remove,
+ };
+
+ int ath10k_ahb_init(void)