Commit 51513906 authored by Committed by John W. LinvilleBrowse files
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 <email@example.com> Signed-off-by: John W. Linville <firstname.lastname@example.org>
Showing with 2 additions and 4 deletions