|
@@ -201,10 +201,10 @@ s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw)
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
- if (nvm_alt_mac_addr_offset == 0xFFFF) {
|
|
|
|
|
|
+ if ((nvm_alt_mac_addr_offset == 0xFFFF) ||
|
|
|
|
+ (nvm_alt_mac_addr_offset == 0x0000))
|
|
/* There is no Alternate MAC Address */
|
|
/* There is no Alternate MAC Address */
|
|
goto out;
|
|
goto out;
|
|
- }
|
|
|
|
|
|
|
|
if (hw->bus.func == E1000_FUNC_1)
|
|
if (hw->bus.func == E1000_FUNC_1)
|
|
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1;
|
|
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1;
|