ath10k: dont call csa_finish more than once

Driver is supposed to call it only once for each
scheduled channel_switch_beacon().

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
ath10k:  Fix getting stats from firmware.

Tested on 10.x firmware, and others report it at least
makes older firmware no more broken than it already was.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
ath10k: update wal_dbg_tx_stats structure with missing parameter

This patch is introduced by Bartosz Markowski but never upstream.
By using this patch, 636 firmware is able to print out the peer
stats correctly and have caused no regression to the latest AP
firmware as well.

The original patch from Bartosz Markowski can be found at:
http://lists.infradead.org/pipermail/ath10k/2013-September/000318.html

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>