commit | c6c539f023423a7a730f5759be1b3b45c2d1d1ca | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Sep 14 21:24:24 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Sep 16 16:45:41 2011 -0400 |
tree | ac2d4e4963b0b975e8881d2c22ed397fadeb488c | |
parent | 66ac69c8c3bd176b49c19e52c37449dec24c9588 [diff] |
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 <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>