diff options
| author | Karthikeyan Periyasamy <[email protected]> | 2023-11-22 20:31:02 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-11-29 13:26:19 +0200 |
| commit | 898d8b3e1414cd900492ee6a0b582f8095ba4a1a (patch) | |
| tree | 36fa598ffb201452949ff568cee29ff1a4ebcee3 /tools/perf/scripts/python | |
| parent | c7b4f54112e188359844016e982c4d14d95a00ae (diff) | |
wifi: ath12k: fix the error handler of rfkill config
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 <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions