ath10k: fix updating peer stats rx duration
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Wed, 3 Feb 2016 15:37:42 +0000 (21:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 25 Feb 2016 16:22:16 +0000 (18:22 +0200)
commit74135f599f9a2d0c54674640aa7d2423ab8ca98c
tree46bc686b8f0cb7c538f9a85a8daade4170b4adc6
parent4fb37186f3b2b1f5d1a8f3e6b26b719bf2df6ee3
ath10k: fix updating peer stats rx duration

We are not updating peer stats rx_duration periodically
unless the user one polls for fw_stats, this is because
we discard the update event since pdev list is empty. Fix
this by updating rx duration periodically irrepective of checks
for pdev list (irrespective of ping-pong response)

Fixes: 856e7c3 ("ath10k: add debugfs support for Per STA total rx duration")
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c