[PATCH] wifi: ath12k: fix the error handler of rfkill config

Jeff Johnson quic_jjohnson at quicinc.com
Fri Nov 10 10:52:50 PST 2023


On 11/9/2023 11:28 PM, Karthikeyan Periyasamy wrote:
> When the core rfkill config throws error, it should free the
> allocated resources. Currently it is not freeing the core pdev
> create resources. Avoid this issue by calling the core pdev
> destroy in the error handler of core rfkill config.
> 
> Found this issue in the code review and it is compile tested only.
> 
> Fixes: 004ccbc0dd49 ("wifi: ath12k: add support for hardware rfkill for WCN7850")
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>

>   drivers/net/wireless/ath/ath12k/core.c | 4 +++-
Can you respin and update the QuIC copyright to 2023?




More information about the ath12k mailing list