diff options
author | Sujith Manoharan | 2011-04-20 07:31:10 +0200 |
---|---|---|
committer | John W. Linville | 2011-04-25 20:50:14 +0200 |
commit | c58ca5b5083befda31009a64abd95ae6ac315265 (patch) | |
tree | 151ec0d5fb1e936d32e684627739c6fbe9d4c8bd /drivers/net/wireless/ath/ath9k/htc_drv_main.c | |
parent | ath9k_htc: Fix max A-MPDU size handling (diff) | |
download | kernel-qcow2-linux-c58ca5b5083befda31009a64abd95ae6ac315265.tar.gz kernel-qcow2-linux-c58ca5b5083befda31009a64abd95ae6ac315265.tar.xz kernel-qcow2-linux-c58ca5b5083befda31009a64abd95ae6ac315265.zip |
ath9k_htc: Use power save wrappers when accessing HW
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index fbc238a0b203..c8577d5cd0f7 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c @@ -1582,6 +1582,7 @@ static int ath9k_htc_ampdu_action(struct ieee80211_hw *hw, int ret = 0; mutex_lock(&priv->mutex); + ath9k_htc_ps_wakeup(priv); switch (action) { case IEEE80211_AMPDU_RX_START: @@ -1607,6 +1608,7 @@ static int ath9k_htc_ampdu_action(struct ieee80211_hw *hw, ath_err(ath9k_hw_common(priv->ah), "Unknown AMPDU action\n"); } + ath9k_htc_ps_restore(priv); mutex_unlock(&priv->mutex); return ret; |