]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: Fix the incorrect updation of NSS data in tx stats
authorSurabhi Vishnoi <svishnoi@codeaurora.org>
Tue, 26 Feb 2019 09:27:55 +0000 (14:57 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 28 Feb 2019 08:45:56 +0000 (10:45 +0200)
commit3a08ac3e79e892e23c936ffea582a63f3fec6c72
treee3fd22b7ec78c33bc4121a8a57c9f601a816959f
parent03af21d6ba35e2a95797fc12a3b479856bacc379
ath10k: Fix the incorrect updation of NSS data in tx stats

The NSS data is updated incorrectly in the tx stats as the array
indexing starts from zero.

Fix the incorrect updation of NSS data in tx_stats by taking into
consideration the array index starting from zero.

Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Fixes: a904417fc876 ("ath10k: add extended per sta tx statistics support")
Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt_rx.c