diff options
author | Senthil Balasubramanian <senthilkumar@atheros.com> | 2011-04-22 11:32:10 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 14:50:18 -0400 |
commit | 515139066928da040d1482f201ef1b769bc29aa0 (patch) | |
tree | b360ef1a4734ae2b1760b15de62ea7c288db541a /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | d1c038d620c45fbbc65bcadf813a86bca686dd31 (diff) | |
download | kernel_samsung_crespo-515139066928da040d1482f201ef1b769bc29aa0.zip kernel_samsung_crespo-515139066928da040d1482f201ef1b769bc29aa0.tar.gz kernel_samsung_crespo-515139066928da040d1482f201ef1b769bc29aa0.tar.bz2 |
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/xmit.c')
0 files changed, 0 insertions, 0 deletions