]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: free collected fw stats memory if .pull_fw_stats fails
authorRaja Mani <rmani@qti.qualcomm.com>
Thu, 9 Jul 2015 08:49:43 +0000 (14:19 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 19 Aug 2015 10:09:18 +0000 (13:09 +0300)
commit538673ef27ff1b53eab1949fcd5825f9951a5e96
treeef510a533dc14e2a9136b922660e98b8b33459d8
parentf08c4dec92e87f3d92385c9eaad234d901b9a8c8
ath10k: free collected fw stats memory if .pull_fw_stats fails

If .pull_fw_stats() fails for some reason while processing
fw stats event, collected pdev/vdev/peer stats just before
the failure should be freed. This is unlikely to happen,
just code review catch.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c