diff options
author | Karthikeyan Periyasamy <[email protected]> | 2024-05-14 12:04:12 +0530 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-05-16 11:29:02 +0300 |
commit | 7678f8bfd74c324bd10499cf1d05e5720d9449b2 (patch) | |
tree | 76f7881f47f28b9a7a174823e2779f41ea076932 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 28bfc1c9c9d0e2165ee9e3b50793b8b463e52e01 (diff) |
wifi: ath12k: use correct MAX_RADIOS
The current value of the MAX_RADIOS definition is 3. This is incorrect
because no device supports more than 2 radios.
An incorrect MAX_RADIOS value can lead to:
- unnecessary memory allocation for pdev related entities.
- invalid pdev id validation.
- Misconceptions for code readers.
Therefore, modify the MAX_RADIOS definition as 2.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Signed-off-by: Karthikeyan Periyasamy <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions