From: Felix Fietkau Date: Wed, 14 Sep 2011 19:24:24 +0000 (+0200) Subject: ath9k: optimize ath9k_ps_restore X-Git-Tag: v3.2-rc1~129^2~254^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6c539f023423a7a730f5759be1b3b45c2d1d1ca;p=pandora-kernel.git ath9k: optimize ath9k_ps_restore ath_hw_cycle_counters_update only needs to be called if the power state changes. Most of the time this does not happen, even when ps_usecount goes down to 0. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed