diff options
Diffstat (limited to 'package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch')
-rw-r--r-- | package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch b/package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch new file mode 100644 index 0000000..aba79dc --- /dev/null +++ b/package/mac80211/patches/557-ath9k-use-correct-EEPROM-base-for-AR9330.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +index dd09cae..d7741d2 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, + 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, |