From: Felix Fietkau Date: Fri, 21 Jan 2011 17:52:38 +0000 (+0100) Subject: ath9k: add missing ps wakeup/restore calls X-Git-Tag: v2.6.38-rc3~29^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783cd01e140d9db5c2d2279a96b81e16f9d81fef;p=pandora-kernel.git ath9k: add missing ps wakeup/restore calls There are several places where ath_reset() was called without proper calls to ath9k_ps_wakeup/ath9k_ps_restore. To fix this, add those calls directly to ath_reset and drop them from callers where it makes sense. Also add them to the config callback around ath_update_txpow to fix a crash that happens when the tx power changed before any vif is brought up. Signed-off-by: Felix Fietkau Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed