Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247216
b: refs/heads/master
c: a039a99
h: refs/heads/master
v: v3
  • Loading branch information
Vivek Natarajan authored and John W. Linville committed Apr 28, 2011
1 parent db4b9a7 commit f78c598
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f78eb657f067ce87e19da94138d22cde8236c7db
refs/heads/master: a039a993496d79d09ae9709c82b545b9800954c9
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ static void ath_btcoex_period_timer(unsigned long data)
u32 timer_period;
bool is_btscan;

ath9k_ps_wakeup(sc);
ath_detect_bt_priority(sc);

is_btscan = sc->sc_flags & SC_OP_BT_SCAN;
Expand All @@ -201,6 +202,7 @@ static void ath_btcoex_period_timer(unsigned long data)
btcoex->hw_timer_enabled = true;
}

ath9k_ps_restore(sc);
mod_timer(&btcoex->period_timer, jiffies +
msecs_to_jiffies(ATH_BTCOEX_DEF_BT_PERIOD));
}
Expand All @@ -220,6 +222,7 @@ static void ath_btcoex_no_stomp_timer(void *arg)
ath_dbg(common, ATH_DBG_BTCOEX,
"no stomp timer running\n");

ath9k_ps_wakeup(sc);
spin_lock_bh(&btcoex->btcoex_lock);

if (btcoex->bt_stomp_type == ATH_BTCOEX_STOMP_LOW || is_btscan)
Expand All @@ -228,6 +231,7 @@ static void ath_btcoex_no_stomp_timer(void *arg)
ath9k_hw_btcoex_bt_stomp(ah, ATH_BTCOEX_STOMP_LOW);

spin_unlock_bh(&btcoex->btcoex_lock);
ath9k_ps_restore(sc);
}

int ath_init_btcoex_timer(struct ath_softc *sc)
Expand Down

0 comments on commit f78c598

Please sign in to comment.