From 6fb6edda523ca3a4c33e1b3215eda2ad3e6c6861 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 3 Jul 2011 23:50:15 +0000 Subject: [PATCH] --- yaml --- r: 256045 b: refs/heads/master c: 58d14d4fbaeb0cede14c59e8a2648b4791c0afe2 h: refs/heads/master i: 256043: abbae221cebc889d8b1274775dc3db80a5c6bc50 v: v3 --- [refs] | 2 +- trunk/drivers/net/igb/e1000_mac.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 048576454f27..b78c0ed643bc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 29a40f0676c9388a83396306957f11b359c4be1c +refs/heads/master: 58d14d4fbaeb0cede14c59e8a2648b4791c0afe2 diff --git a/trunk/drivers/net/igb/e1000_mac.c b/trunk/drivers/net/igb/e1000_mac.c index ce8255fc3c52..c822904d8a09 100644 --- a/trunk/drivers/net/igb/e1000_mac.c +++ b/trunk/drivers/net/igb/e1000_mac.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "e1000_mac.h" @@ -217,7 +218,7 @@ s32 igb_check_alt_mac_addr(struct e1000_hw *hw) } /* if multicast bit is set, the alternate address will not be used */ - if (alt_mac_addr[0] & 0x01) { + if (is_multicast_ether_addr(alt_mac_addr)) { hw_dbg("Ignoring Alternate Mac Address with MC bit set\n"); goto out; }