]> 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)
commitc273ae54bb042e3af719ad22fa46abcd44d268ac
treed4c3f2070ed2cf59d53a4c1ad0f12744ffbcec07
parent66dcc60d7638915cbcc7c17aaa370ba91031d02d
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