projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b919f8
)
netdev: ucc_geth: Use is_multicast_ether_addr helper
author
Tobias Klauser
<tklauser@distanz.ch>
Tue, 11 Jan 2011 23:31:01 +0000
(23:31 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 13 Jan 2011 02:46:11 +0000
(18:46 -0800)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ucc_geth.c
b/drivers/net/ucc_geth.c
index acbdab3d66caa70081e30b87f41e5e82c7d88b33..dc6cb974f25d62ca1229538ba045a2d2c8b442f6 100644
(file)
--- a/
drivers/net/ucc_geth.c
+++ b/
drivers/net/ucc_geth.c
@@
-2031,7
+2031,7
@@
static void ucc_geth_set_multi(struct net_device *dev)
netdev_for_each_mc_addr(ha, dev) {
/* Only support group multicast for now.
*/
- if (!
(ha->addr[0] & 1
))
+ if (!
is_multicast_ether_addr(ha->addr
))
continue;
/* Ask CPM to run CRC and set bit in