ath9k: do not sampling on ani timer when chip is in sleep
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 19 Jun 2012 09:20:28 +0000 (14:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 19:14:56 +0000 (15:14 -0400)
commit5039f38e16695a0a5c72b08c6a6cc66844a657b1
tree9448a63abfe3aa058c9fef69b7198c7fffd5aa58
parent4ff6a9d200c66f192da61822c36ad14424e218d6
ath9k: do not sampling on ani timer when chip is in sleep

The baseband and cycle counters are being sampled during ani
processing for debugging purpose. Whenever the ani is postponded
due to sleep state, taking samples on that time is of no use and
also unneccesarily waking up the chip might increase the power
consumption on idle associated state. Hence moving debug function
within powersave block.

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