[PATCH v8 7/9] wifi: ath12k: fix NULL access in assign channel context handler
Karthikeyan Periyasamy
quic_periyasa at quicinc.com
Tue Mar 4 17:11:18 PST 2025
On 3/4/2025 11:06 PM, Jeff Johnson wrote:
> On 2/22/2025 7:19 AM, Karthikeyan Periyasamy wrote:
>> Currently, when ath12k_mac_assign_vif_to_vdev() fails, the radio handle
>> (ar) gets accessed fom the link VIF handle (arvif) for debug logging, This
>
> WARNING:TYPO_SPELLING: 'fom' may be misspelled - perhaps 'from'?
>
Yes, my bad. Correct word is 'from'.
>> is incorrect. In the fail scenario, radio handle is NULL. Fix the NULL
>> access, avoid radio handle access by moving to the hardware debug logging
>> helper function (ath12k_hw_warn).
--
Karthikeyan Periyasamy
--
கார்த்திகேயன் பெரியசாமி
More information about the ath12k
mailing list