summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-03 23:47:04 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-04 20:27:28 -0700
commit3e714ad3c2a07ee120044b72222cc20c14959efb (patch)
treebe62ea93c86678504fe62495a5a8ebb44ea254ed /drivers/net/e1000e
parent6539fefd9bec5faf948b03aec9f9078691d0be6b (diff)
downloadblackbird-obmc-linux-3e714ad3c2a07ee120044b72222cc20c14959efb.tar.gz
blackbird-obmc-linux-3e714ad3c2a07ee120044b72222cc20c14959efb.zip
net: e1000e: Use is_multicast_ether_addr helper
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-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)
}
/* 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)) {
e_dbg("Ignoring Alternate Mac Address with MC bit set\n");
goto out;
}
OpenPOWER on IntegriCloud