- /* before reading the EEPROM, reset the controller to
- * put the device in a known good starting state */
+ if (e1000_validate_eeprom_checksum(&adapter->hw) < 0) {
+ /* before reading the EEPROM, reset the controller to
+ * put the device in a known good starting state */
- /* make sure the EEPROM is good */
+ /* make sure the EEPROM is good */
- if (e1000_validate_eeprom_checksum(&adapter->hw) < 0) {
- DPRINTK(PROBE, ERR, "The EEPROM Checksum Is Not Valid
");
- if (!eeprom_bad_csum_allow)
- goto err_eeprom;
+ if (e1000_validate_eeprom_checksum(&adapter->hw) < 0) {
+ DPRINTK(PROBE, ERR, "The EEPROM Checksum Is Not Valid
");
+ if (!eeprom_bad_csum_allow)
+ goto err_eeprom;
+ }
}
/* copy the MAC address out of the EEPROM */
--
1.5.4.3