diff options
author | Roopni Devanathan <quic_rdevanat@quicinc.com> | 2024-11-18 06:57:22 +0300 |
---|---|---|
committer | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-11-21 18:52:50 +0300 |
commit | 47c7ebfba30f242a24a89317c74eada47adfaa95 (patch) | |
tree | ce647dc71f5c57e7476be96126a87eb3ea98bb28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e238638e6f24109c0c7639f4a2db023388bd1b76 (diff) | |
download | linux-47c7ebfba30f242a24a89317c74eada47adfaa95.tar.xz |
wifi: ath12k: Fix inappropriate use of print_array_to_buf_index()
Currently in ath12k_htt_print_tx_pdev_mumimo_grp_stats_tlv() the
htt_stats_buf->ul_mumimo_grp_best_usrs array is printed using
print_array_to_buf_index() with a stats_index of 1. This is meant
to convey the semantic that first entry in ul_mumimo_grp_best_usrs
is associated with user 1. However, unlike some of the other "usr"
arrays which have that semantic, ul_mumimo_grp_best_usrs does not
have that semantic. Instead the first entry corresponds to user 0.
Fix the issue by calling the API - print_array_to_buf(), instead of
print_array_to_buf_index().
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241118035722.1755373-1-quic_rdevanat@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions