summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorSenthil Balasubramanian <senthilkumar@atheros.com>2011-04-22 11:32:10 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-04-25 14:50:18 -0400
commit515139066928da040d1482f201ef1b769bc29aa0 (patch)
treeb360ef1a4734ae2b1760b15de62ea7c288db541a /drivers/net/wireless/ath/ath9k/init.c
parentd1c038d620c45fbbc65bcadf813a86bca686dd31 (diff)
downloadop-kernel-dev-515139066928da040d1482f201ef1b769bc29aa0.zip
op-kernel-dev-515139066928da040d1482f201ef1b769bc29aa0.tar.gz
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 <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud