[PATCH v2 2/2] wifi: ath12k: use correct MAX_RADIOS
Jeff Johnson
quic_jjohnson at quicinc.com
Tue May 14 07:14:59 PDT 2024
On 5/13/2024 11:34 PM, Karthikeyan Periyasamy wrote:
> 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 <quic_periyasa at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the ath12k
mailing list