projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6539fef
)
net: e1000e: Use is_multicast_ether_addr helper
author
Tobias Klauser
<tklauser@distanz.ch>
Sun, 3 Jul 2011 23:47:04 +0000
(23:47 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 Jul 2011 03:27:28 +0000
(20:27 -0700)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/lib.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000e/lib.c
b/drivers/net/e1000e/lib.c
index bd72b8167df9d77e08d80709335f4376b6964f3f..65580b40594207a2aac7a663da5bc0c105a67cb2 100644
(file)
--- 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;
}