ath11k: fix thermal temperature read
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Thu, 18 Feb 2021 18:27:08 +0000 (10:27 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Feb 2021 06:53:47 +0000 (08:53 +0200)
commite3de5bb7ac1a4cb262f8768924fd3ef6182b10bb
treeef90655996aef40c1d038ac383f550d29c60f149
parent3808a18043a8d16ea1bc0ebe59c864f73413dbbf
ath11k: fix thermal temperature read

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
drivers/net/wireless/ath/ath11k/wmi.c