]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix pointless update of peer stats list
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Wed, 3 Feb 2016 15:37:43 +0000 (21:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:17:57 +0000 (19:17 +0200)
commit62f5e7d80ff07e8cf5a34375377f1c06777d5b17
tree498d096f6596d8dfa3de6454bfacebe6b0bf21fa
parent96e1fcfaff80a1f437ffbf3ba24d9254e1e4006f
ath10k: fix pointless update of peer stats list

We periodically receive f/w stats event for updating
the rx duration and there is no reason to keep on appending
the f/w stats peer list, as this gets completely cleaned up when
the user polls for f/w stats {pdev, vdev, peer stats}. Only don't
print the warning message in the case PEER_STATS service is enabled

Fixes: 8b11926 ("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