aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-21 05:23:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-22 16:09:53 -0400
commit5b5c033b59e74392442eb4b052f0b874a0a31c7d (patch)
treee12e084cb27adf2ff8c45ad6c90a2f98ed8b13e2 /drivers
parent7d790a21e5d4674fb25da62f560453bc3c248a93 (diff)
ath9k: use correct EEPROM base for AR9330
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_eeprom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index 83c33a583e2f..5457bd6e524b 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_internal(struct ath_hw *ah,
3324 read = ar9300_read_eeprom; 3324 read = ar9300_read_eeprom;
3325 if (AR_SREV_9485(ah)) 3325 if (AR_SREV_9485(ah))
3326 cptr = AR9300_BASE_ADDR_4K; 3326 cptr = AR9300_BASE_ADDR_4K;
3327 else if (AR_SREV_9330(ah))
3328 cptr = AR9300_BASE_ADDR_512;
3327 else 3329 else
3328 cptr = AR9300_BASE_ADDR; 3330 cptr = AR9300_BASE_ADDR;
3329 ath_dbg(common, ATH_DBG_EEPROM, 3331 ath_dbg(common, ATH_DBG_EEPROM,