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

Jeff Johnson jeff.johnson at oss.qualcomm.com
Wed Sep 9 10:57:45 PDT 2026


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 at oss.qualcomm.com>




More information about the ath12k mailing list