Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266447
b: refs/heads/master
c: 6538ee6
h: refs/heads/master
i:
  266445: 0fdd32e
  266443: aca0f36
  266439: 2676f4d
  266431: df022a0
v: v3
  • Loading branch information
Akeem G. Abodunrin authored and Jeff Kirsher committed Oct 6, 2011
1 parent 705b28e commit ddfc608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76d06521f514e4e7e6bfb848ef0e3f8eb421f46d
refs/heads/master: 6538ee62d597ca09035c33838d7516455f4fd3e1
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/intel/igb/e1000_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ s32 igb_check_alt_mac_addr(struct e1000_hw *hw)
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 */
goto out;
}

if (hw->bus.func == E1000_FUNC_1)
nvm_alt_mac_addr_offset += E1000_ALT_MAC_ADDRESS_OFFSET_LAN1;
Expand Down

0 comments on commit ddfc608

Please sign in to comment.