wlan-ap-Telecominfraproject/feeds/ipq95xx/mac80211/patches/qca/000-e-Revert-ath11k-make-relay-callbacks-const.patch
John Crispin 144c5d00f4 ipq95xx/mac80211: update to ATH12.3-CS
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-28 18:56:21 +01:00

30 lines
1.0 KiB
Diff

From 36b0cefe901a06aab1d488c12c38b8076054bc12 Mon Sep 17 00:00:00 2001
From: quic_nikhgurr <quic_nikhgurr@quicinc.com>
Date: Tue, 15 Dec 2020 20:46:06 -0800
Subject: Revert: "ath11k: make relay callbacks const"
This reverts commit: https://git.codelinaro.org/clo/qsdk/kvalo/ath/-/commit/36b0cefe901a06aab1d488c12c38b8076054bc12
Signed-off-by: quic_nikhgurr <quic_nikhgurr@quicinc.com>
---
drivers/net/wireless/ath/ath11k/spectral.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git b/drivers/net/wireless/ath/ath11k/spectral.c a/drivers/net/wireless/ath/ath11k/spectral.c
index 1afe67759659..ac2a8cfdc1c0 100644
--- b/drivers/net/wireless/ath/ath11k/spectral.c
+++ a/drivers/net/wireless/ath/ath11k/spectral.c
@@ -148,7 +148,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
return 0;
}
-static const struct rchan_callbacks rfs_scan_cb = {
+static struct rchan_callbacks rfs_scan_cb = {
.create_buf_file = create_buf_file_handler,
.remove_buf_file = remove_buf_file_handler,
};
--
2.25.1