ath9k: Move cycle conters under cc_lock
commit6bc05a9555543d0f8cc56bf2647819aebe39e938
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 6 Sep 2011 15:30:07 +0000 (6 21:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:33 +0000 (14 13:56 -0400)
treea8b183fb280c6a73ee0cf9dce0e1cee94c58c38c
parentf7e014dac29b1abe5c8fa8d721d43928633340ab
ath9k: Move cycle conters under cc_lock

This patch protects cycle counters access by cc_lock
and also prints current sample index.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c