ath11k: fix incorrect peer stats counters update
authorVenkateswara Naralasetty <vnaralas@codeaurora.org>
Wed, 5 Feb 2020 08:35:30 +0000 (14:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 11 Feb 2020 18:35:51 +0000 (20:35 +0200)
commit92bacd1c165c2895dda82bbeb49ad9f190a9dd98
tree1715166f9f0f6ce62bee260f2c5f8cf054d5b845
parent58595c9874c625ceb7004960d8e53b9226abdc92
ath11k: fix incorrect peer stats counters update

Convert mac80211 bw to ath11k bw before updating peer stats
bw counters, which fixes incorrect peer stats counters update.

Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/debugfs_sta.c
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/mac.h