summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-04-09 21:44:24 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-04-20 18:25:31 +0300
commit90ef329e73c673e4e3ea66226bb1d8fe3acf45a5 (patch)
tree7f8e3111795d6b96a023779d7f24adbd8116ba16
parenta49300ad9796e59f2eb740c608ccaf6b1621a6bd (diff)
downloadlinux-90ef329e73c673e4e3ea66226bb1d8fe3acf45a5.tar.xz
wifi: ath12k: Fix ath12k_dp_htt_tlv_iter()'s iter() signature
Per ath12k convention, a pointer to struct ath12k_base should be named 'ab'. However, the current signature of the 'iter' parameter of ath12k_dp_htt_tlv_iter() uses 'ar'. Change it to use 'ab'. No functional changes, compile tested only. Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Link: https://patch.msgid.link/20260409-ath12k-htc-proto-v1-2-cda86d6355f1@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath12k/dp_htt.c2
-rw-r--r--drivers/net/wireless/ath/ath12k/dp_htt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath12k/dp_htt.c b/drivers/net/wireless/ath/ath12k/dp_htt.c
index 9c19d9707abf..52e10059c6d5 100644
--- a/drivers/net/wireless/ath/ath12k/dp_htt.c
+++ b/drivers/net/wireless/ath/ath12k/dp_htt.c
@@ -146,7 +146,7 @@ static int ath12k_htt_tlv_ppdu_stats_parse(struct ath12k_base *ab,
}
int ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len,
- int (*iter)(struct ath12k_base *ar, u16 tag, u16 len,
+ int (*iter)(struct ath12k_base *ab, u16 tag, u16 len,
const void *ptr, void *data),
void *data)
{
diff --git a/drivers/net/wireless/ath/ath12k/dp_htt.h b/drivers/net/wireless/ath/ath12k/dp_htt.h
index 6020e632f74e..987689f11cda 100644
--- a/drivers/net/wireless/ath/ath12k/dp_htt.h
+++ b/drivers/net/wireless/ath/ath12k/dp_htt.h
@@ -1523,7 +1523,7 @@ int ath12k_dp_tx_htt_srng_setup(struct ath12k_base *ab, u32 ring_id,
void ath12k_dp_htt_htc_t2h_msg_handler(struct ath12k_base *ab,
struct sk_buff *skb);
int ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len,
- int (*iter)(struct ath12k_base *ar, u16 tag, u16 len,
+ int (*iter)(struct ath12k_base *ab, u16 tag, u16 len,
const void *ptr, void *data),
void *data);
int ath12k_dp_tx_htt_h2t_ver_req_msg(struct ath12k_base *ab);