projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d790a2
)
ath9k: use correct EEPROM base for AR9330
author
Gabor Juhos
<
[email protected]
>
Tue, 21 Jun 2011 09:23:38 +0000
(11:23 +0200)
committer
John W. Linville
<
[email protected]
>
Wed, 22 Jun 2011 20:09:53 +0000
(16:09 -0400)
Signed-off-by: Gabor Juhos <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index 83c33a583e2f868c468e89247a03ed1d91d07926..5457bd6e524bec2d319f0a40c9b4dcf7699ad0db 100644
(file)
--- 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,
read = ar9300_read_eeprom;
if (AR_SREV_9485(ah))
cptr = AR9300_BASE_ADDR_4K;
+ else if (AR_SREV_9330(ah))
+ cptr = AR9300_BASE_ADDR_512;
else
cptr = AR9300_BASE_ADDR;
ath_dbg(common, ATH_DBG_EEPROM,