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)
commit5db879aefa0ef6dea4fdda268dd94016bc165f3d
treeef510a533dc14e2a9136b922660e98b8b33459d8
parentf1ee2682ef8dffe6d6ec6f7788d6bf33d6bab7a6
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