ath10k: request fw_stats once on open
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 25 Sep 2014 10:33:49 +0000 (12:33 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 29 Sep 2014 11:30:44 +0000 (14:30 +0300)
commitfb2e9c0cc7e4e855c86e29f1c15b46d696a0c6c3
tree5ad058a23299b2f9455b9bc3732da8598663a9c8
parent60ef401aaec79c7d110ed825c083421e62e83f3c
ath10k: request fw_stats once on open

Stats were requested and processed for each read
call. This caused inconsistent readings.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c