aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/e1000e/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c
index bd72b8167df9..65580b405942 100644
--- a/drivers/net/e1000e/lib.c
+++ b/drivers/net/e1000e/lib.c
@@ -220,7 +220,7 @@ s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw)
220 } 220 }
221 221
222 /* if multicast bit is set, the alternate address will not be used */ 222 /* if multicast bit is set, the alternate address will not be used */
223 if (alt_mac_addr[0] & 0x01) { 223 if (is_multicast_ether_addr(alt_mac_addr)) {
224 e_dbg("Ignoring Alternate Mac Address with MC bit set\n"); 224 e_dbg("Ignoring Alternate Mac Address with MC bit set\n");
225 goto out; 225 goto out;
226 } 226 }