|
@@ -37,10 +37,10 @@ static bool ath9k_hw_ar9287_fill_eeprom(struct ath_hw *ah)
|
|
|
int addr, eep_start_loc;
|
|
|
eep_data = (u16 *)eep;
|
|
|
|
|
|
- if (AR9287_HTC_DEVID(ah))
|
|
|
- eep_start_loc = AR9287_HTC_EEP_START_LOC;
|
|
|
- else
|
|
|
+ if (!common->driver_info)
|
|
|
eep_start_loc = AR9287_EEP_START_LOC;
|
|
|
+ else
|
|
|
+ eep_start_loc = AR9287_HTC_EEP_START_LOC;
|
|
|
|
|
|
if (!ath9k_hw_use_flash(ah)) {
|
|
|
ath_print(common, ATH_DBG_EEPROM,
|