summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-08-23 21:23:34 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-09-20 16:16:12 +0300
commit352281e4a0a020114574b3846a6eed395d0ca908 (patch)
tree98289e555e6d48c252708e97d8f5381e6e0c595c /tools/perf/scripts/python
parente6a1107bf5ebd531144f46f74ee2b7f8d56d3c79 (diff)
wifi: ath9k: use u32 for txgain indexes
Since both 'ar9550_hw_get_modes_txgain_index()' and 'ar9561_hw_get_modes_txgain_index()' never returns negative values, prefer 'u32' over 'int' and adjust 'ar9003_hw_process_ini()' accordingly. Suggested-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230823182401.196270-2-dmantipov@yandex.ru
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions