Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256445
b: refs/heads/master
c: 087b6ff
h: refs/heads/master
i:
  256443: 57cea5b
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Jul 11, 2011
1 parent d1d7aa2 commit 7788c7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 906c720527b23ba8c99683ea5f9ea1f9d7749e8c
refs/heads/master: 087b6ff682ff62c49c9a36ddfd24fc781367b1d1
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ static void ath9k_hw_set_clockrate(struct ath_hw *ah)
struct ath_common *common = ath9k_hw_common(ah);
unsigned int clockrate;

if (!ah->curchan) /* should really check for CCK instead */
/* AR9287 v1.3+ uses async FIFO and runs the MAC at 117 MHz */
if (AR_SREV_9287(ah) && AR_SREV_9287_13_OR_LATER(ah))
clockrate = 117;
else if (!ah->curchan) /* should really check for CCK instead */
clockrate = ATH9K_CLOCK_RATE_CCK;
else if (conf->channel->band == IEEE80211_BAND_2GHZ)
clockrate = ATH9K_CLOCK_RATE_2GHZ_OFDM;
Expand Down

0 comments on commit 7788c7c

Please sign in to comment.