ath10k: fix tx legacy rate reporting
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Thu, 12 Jan 2017 11:02:22 +0000 (13:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 13 Jan 2017 13:35:26 +0000 (15:35 +0200)
commitcd59102779aca33e50967bdb6147334fb298d7ad
tree3c14f6ea0d0b926d48a03f17c0b4998e23b95f12
parentc486dc571a370ec58aefc9cc93937945403ef351
ath10k: fix tx legacy rate reporting

Tx legacy rate is reported 10 fold, as below

iw dev wlan#N station dump | grep "tx bitrate"
        tx bitrate:     240.0 MBit/s

This is because by mistake we multiply by the hardware reported
rate twice by 10, fix this.

Fixes: cec17c382140 ("ath10k: add per peer htt tx stats support for 10.4")
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c