From: Felix Fietkau Date: Tue, 12 Oct 2010 12:02:53 +0000 (+0200) Subject: ath9k: do not track cycle counter updates in powersave mode X-Git-Tag: v2.6.37-rc1~147^2~78^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=898c914a0871ea7e5557b77156d4358c0f15d98a;p=pandora-kernel.git ath9k: do not track cycle counter updates in powersave mode While the chip is in powersave mode, the cycle counter updates do not contain useful values. While the chip is in full sleep, the rx_clear signal stays high, indicating a busy medium. To ensure sane values, update cycle counters before going into powersave, and clear them right after switching back to awake. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed