]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: clean up on error in ath12k_dp_setup()
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 18 Dec 2025 07:44:20 +0000 (10:44 +0300)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 16 Jan 2026 01:19:36 +0000 (17:19 -0800)
commit40feb23c726369700918b9c35db987f9fe3c6498
treec7c4f22b443f5398e1de56b5675341cbe7554b9c
parent8fb264d1a0c5b3feae5f492ee2bc2997b71b63e3
wifi: ath12k: clean up on error in ath12k_dp_setup()

Destroy the rhash_tbl before returning the error code.

Fixes: a88cf5f71adf ("wifi: ath12k: Add hash table for ath12k_dp_link_peer")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/aUOw1J0TU4VgeXj6@stanley.mountain
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp.c