diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-10-27 12:59:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-30 16:49:19 -0400 |
commit | ec11bb88f977321f117865b4d21079bbacc474ee (patch) | |
tree | b255ed9465fced36ae5d58f55827022f1ea38162 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | 11158472c4ea7a4817d85912c491afa36a244192 (diff) |
ath9k_hw: correct AR_PHY_SPECTRAL_SCAN register offset
We had 0x9912 but AR_PHY_SPECTRAL_SCAN is 0x9910. By using the
0x9912 we were making the hardware unresponsive. This allows us
to move forward with hardware reset on ar9271 on the ath9k_htc
driver.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index ea6965134c0..2fbadbee1aa 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -1274,7 +1274,8 @@ static void ath9k_hw_override_ini(struct ath_hw *ah, | |||
1274 | * AR9271 1.1 | 1274 | * AR9271 1.1 |
1275 | */ | 1275 | */ |
1276 | if (AR_SREV_9271_10(ah)) { | 1276 | if (AR_SREV_9271_10(ah)) { |
1277 | val = REG_READ(ah, AR_PHY_SPECTRAL_SCAN) | AR_PHY_SPECTRAL_SCAN_ENABLE; | 1277 | val = REG_READ(ah, AR_PHY_SPECTRAL_SCAN) | |
1278 | AR_PHY_SPECTRAL_SCAN_ENABLE; | ||
1278 | REG_WRITE(ah, AR_PHY_SPECTRAL_SCAN, val); | 1279 | REG_WRITE(ah, AR_PHY_SPECTRAL_SCAN, val); |
1279 | } | 1280 | } |
1280 | else if (AR_SREV_9271_11(ah)) | 1281 | else if (AR_SREV_9271_11(ah)) |