]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ath11k: fix thermal temperature read
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Thu, 18 Feb 2021 18:27:08 +0000 (10:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:29:26 +0000 (10:29 +0200)
commita4aa13fca62ebf0e604807efadbde76556492f80
treeb11957028921a3c74ec360a69436fd71547ba5f2
parent01facb21f128c0dcf61c478c0fbc5e32cc1a4940
ath11k: fix thermal temperature read

[ Upstream commit e3de5bb7ac1a4cb262f8768924fd3ef6182b10bb ]

Fix dangling pointer in thermal temperature event which causes
incorrect temperature read.

Tested-on: IPQ8074 AHB WLAN.HK.2.4.0.1-00041-QCAHKSWPL_SILICONZ-1

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210218182708.8844-1-pradeepc@codeaurora.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath11k/wmi.c