提交 5b5c033b 编写于 作者: G Gabor Juhos 提交者: John W. Linville

ath9k: use correct EEPROM base for AR9330

Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 7d790a21
...@@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_internal(struct ath_hw *ah, ...@@ -3324,6 +3324,8 @@ static int ar9300_eeprom_restore_internal(struct ath_hw *ah,
read = ar9300_read_eeprom; read = ar9300_read_eeprom;
if (AR_SREV_9485(ah)) if (AR_SREV_9485(ah))
cptr = AR9300_BASE_ADDR_4K; cptr = AR9300_BASE_ADDR_4K;
else if (AR_SREV_9330(ah))
cptr = AR9300_BASE_ADDR_512;
else else
cptr = AR9300_BASE_ADDR; cptr = AR9300_BASE_ADDR;
ath_dbg(common, ATH_DBG_EEPROM, ath_dbg(common, ATH_DBG_EEPROM,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册