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)
commitc9ae6ab4c7d7aa29f9607ac69daafbc241fc123e
treed4c3f2070ed2cf59d53a4c1ad0f12744ffbcec07
parent0603143e47a34d0485a13fd7f46e56a97e687e34
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