Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194409
b: refs/heads/master
c: 0df13da
h: refs/heads/master
i:
  194407: 390cbab
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 16, 2010
1 parent f339945 commit cd67a69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: b43d59fb3e2977945df061e7c405679f31acb26e
refs/heads/master: 0df13da4555320f6dc9b901fd5f22cf54065c708
14 changes: 7 additions & 7 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,12 @@ static bool ar9003_hw_macversion_supported(u32 macversion)

static void ar9002_hw_init_cal_settings(struct ath_hw *ah)
{
if (AR_SREV_9100(ah)) {
ah->iq_caldata.calData = &iq_cal_multi_sample;
ah->supp_cals = IQ_MISMATCH_CAL;
return;
}

if (AR_SREV_9160_10_OR_LATER(ah)) {
if (AR_SREV_9280_10_OR_LATER(ah)) {
ah->iq_caldata.calData = &iq_cal_single_sample;
Expand Down Expand Up @@ -1015,13 +1021,7 @@ static int __ath9k_hw_init(struct ath_hw *ah)
return -EOPNOTSUPP;
}

if (AR_SREV_9100(ah)) {
ah->iq_caldata.calData = &iq_cal_multi_sample;
ah->supp_cals = IQ_MISMATCH_CAL;
ah->is_pciexpress = false;
}

if (AR_SREV_9271(ah))
if (AR_SREV_9271(ah) || AR_SREV_9100(ah))
ah->is_pciexpress = false;

ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID);
Expand Down

0 comments on commit cd67a69

Please sign in to comment.