|
@@ -97,6 +97,7 @@ ath5k_eeprom_init_header(struct ath5k_hw *ah)
|
|
|
struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom;
|
|
|
int ret;
|
|
|
u16 val;
|
|
|
+ u32 cksum, offset;
|
|
|
|
|
|
/*
|
|
|
* Read values from EEPROM and store them in the capability structure
|
|
@@ -111,7 +112,6 @@ ath5k_eeprom_init_header(struct ath5k_hw *ah)
|
|
|
if (ah->ah_ee_version < AR5K_EEPROM_VERSION_3_0)
|
|
|
return 0;
|
|
|
|
|
|
-#ifdef notyet
|
|
|
/*
|
|
|
* Validate the checksum of the EEPROM date. There are some
|
|
|
* devices with invalid EEPROMs.
|
|
@@ -124,7 +124,6 @@ ath5k_eeprom_init_header(struct ath5k_hw *ah)
|
|
|
ATH5K_ERR(ah->ah_sc, "Invalid EEPROM checksum 0x%04x\n", cksum);
|
|
|
return -EIO;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
AR5K_EEPROM_READ_HDR(AR5K_EEPROM_ANT_GAIN(ah->ah_ee_version),
|
|
|
ee_ant_gain);
|