Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342101
b: refs/heads/master
c: 19f7842
h: refs/heads/master
i:
  342099: 68454be
v: v3
  • Loading branch information
Sujith Manoharan authored and John W. Linville committed Dec 10, 2012
1 parent 3331981 commit 7e36f88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 914d0f4def3817c295d3e8cbb7ea53bef8b0efcb
refs/heads/master: 19f7842240eb30b1fdf4eacdd444bc9f61f97382
10 changes: 6 additions & 4 deletions trunk/drivers/net/wireless/ath/ath9k/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ static void ath_paprd_activate(struct ath_softc *sc)
return;
}

ath9k_ps_wakeup(sc);
ar9003_paprd_enable(ah, false);
for (chain = 0; chain < AR9300_MAX_CHAINS; chain++) {
if (!(ah->txchainmask & BIT(chain)))
Expand All @@ -199,7 +198,6 @@ static void ath_paprd_activate(struct ath_softc *sc)

ath_dbg(common, CALIBRATE, "Activating PAPRD\n");
ar9003_paprd_enable(ah, true);
ath9k_ps_restore(sc);
}

static bool ath_paprd_send_frame(struct ath_softc *sc, struct sk_buff *skb, int chain)
Expand Down Expand Up @@ -436,11 +434,15 @@ void ath_ani_calibrate(unsigned long data)
cal_interval = min(cal_interval, (u32)short_cal_interval);

mod_timer(&common->ani.timer, jiffies + msecs_to_jiffies(cal_interval));

if (ah->eep_ops->get_eeprom(ah, EEP_PAPRD) && ah->caldata) {
if (!ah->caldata->paprd_done)
if (!ah->caldata->paprd_done) {
ieee80211_queue_work(sc->hw, &sc->paprd_work);
else if (!ah->paprd_table_write_done)
} else if (!ah->paprd_table_write_done) {
ath9k_ps_wakeup(sc);
ath_paprd_activate(sc);
ath9k_ps_restore(sc);
}
}
}

Expand Down

0 comments on commit 7e36f88

Please sign in to comment.