Re: [PATCH v2] wifi: ath12k: clear dangling channel pointers on error paths

From: Jeff Johnson

Date: Wed Sep 09 2026 - 14:30:32 EST



On Tue, 11 Aug 2026 10:05:23 +0800, Linkai Gong wrote:
> 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.
>
> [...]

Applied, thanks!

[1/1] wifi: ath12k: clear dangling channel pointers on error paths
commit: 507478f6f93864978a399173d4f54c8a987c8235

Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>