diff options
| author | 2026-08-11 10:05:23 +0800 | |
|---|---|---|
| committer | 2026-09-09 10:54:46 -0700 | |
| commit | 507478f6f93864978a399173d4f54c8a987c8235 (patch) | |
| tree | 9c53ab932a69117cdedf42bdc178ddf38a9dd720 /scripts/Makefile.thinlto | |
| parent | wifi: ath12k: use kernel types instead of userspace stdint types (diff) | |
wifi: ath12k: clear dangling channel pointers on error paths
On failure, ath12k_mac_setup_channels_rates() frees band channel
arrays but leaves the pointers set, or clears the wrong band after a
copy-paste typo (6 GHz free paired with a 2 GHz NULL). Clear the
matching sbands[].channels pointer after each kfree().
Compile tested only.
Signed-off-by: Linkai Gong <gonglinkai@kylinos.cn>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260811020523.387433-1-gonglinkai@kylinos.cn
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
