From: Senthil Balasubramanian Date: Fri, 22 Apr 2011 06:02:10 +0000 (+0530) Subject: ath9k: optimize the usage of power save wrappers. X-Git-Tag: v3.0-rc1~377^2~161^2^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515139066928da040d1482f201ef1b769bc29aa0;p=pandora-kernel.git ath9k: optimize the usage of power save wrappers. We need not wake up the chip even before mutex lock is acquired and also that it is required only if we are going to drain the txq. So place the wrappers accordingly and this change is also useful when there are no pending frames in the txq as we do not wake up the chip unnecessarily. Signed-off-by: Senthil Balasubramanian Signed-off-by: John W. Linville --- Reading git-diff-tree failed