]> git.baikalelectronics.ru Git - kernel.git/commit
ath: do not update cycle counters with sleep mode
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Mon, 4 Jun 2012 10:58:41 +0000 (16:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:29 +0000 (15:20 -0400)
commit149be66d27d4af0bff3229cf2221da25da77fd33
treed4c3f2070ed2cf59d53a4c1ad0f12744ffbcec07
parent7920e7d15b4f75fed97d8c596e58d77c8cd125d7
ath: do not update cycle counters with sleep mode

When the chip is waking up from sleep state, the cycle counters
might have incorrect readings. So it is better not to update those
readings with software counters.

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