aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index cf6fa54a2fa3..09dcdd7882e6 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -15,6 +15,7 @@
15 */ 15 */
16 16
17#include <linux/nl80211.h> 17#include <linux/nl80211.h>
18#include <linux/pm_qos_params.h>
18#include "ath9k.h" 19#include "ath9k.h"
19#include "btcoex.h" 20#include "btcoex.h"
20 21
@@ -1239,6 +1240,8 @@ static int ath9k_start(struct ieee80211_hw *hw)
1239 ath9k_btcoex_timer_resume(sc); 1240 ath9k_btcoex_timer_resume(sc);
1240 } 1241 }
1241 1242
1243 pm_qos_update_request(&ath9k_pm_qos_req, 55);
1244
1242mutex_unlock: 1245mutex_unlock:
1243 mutex_unlock(&sc->mutex); 1246 mutex_unlock(&sc->mutex);
1244 1247
@@ -1416,6 +1419,8 @@ static void ath9k_stop(struct ieee80211_hw *hw)
1416 1419
1417 sc->sc_flags |= SC_OP_INVALID; 1420 sc->sc_flags |= SC_OP_INVALID;
1418 1421
1422 pm_qos_update_request(&ath9k_pm_qos_req, PM_QOS_DEFAULT_VALUE);
1423
1419 mutex_unlock(&sc->mutex); 1424 mutex_unlock(&sc->mutex);
1420 1425
1421 ath_print(common, ATH_DBG_CONFIG, "Driver halt\n"); 1426 ath_print(common, ATH_DBG_CONFIG, "Driver halt\n");