[PATCH v8 7/9] wifi: ath12k: fix NULL access in assign channel context handler

Jeff Johnson jeff.johnson at oss.qualcomm.com
Tue Mar 4 09:39:33 PST 2025


On 3/4/2025 9:36 AM, 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'?
> 
>> 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).

(hit 'send' too soon -- I'll fix this in 'pending' if there are no other
issues in the series)





More information about the ath12k mailing list