diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-01-11 18:31:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-12 21:46:11 -0500 |
commit | 6c64b0c696d7a650f52d75ea59375983ec0d5e33 (patch) | |
tree | cda5b828aa9c4ef9422c257d5b9d6f8619d50dbb /drivers/net/ucc_geth.c | |
parent | 5b919f833d9d60588d026ad82d17f17e8872c7a9 (diff) |
netdev: ucc_geth: 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/ucc_geth.c')
-rw-r--r-- | drivers/net/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index acbdab3d66ca..dc6cb974f25d 100644 --- 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) | |||
2031 | netdev_for_each_mc_addr(ha, dev) { | 2031 | netdev_for_each_mc_addr(ha, dev) { |
2032 | /* Only support group multicast for now. | 2032 | /* Only support group multicast for now. |
2033 | */ | 2033 | */ |
2034 | if (!(ha->addr[0] & 1)) | 2034 | if (!is_multicast_ether_addr(ha->addr)) |
2035 | continue; | 2035 | continue; |
2036 | 2036 | ||
2037 | /* Ask CPM to run CRC and set bit in | 2037 | /* Ask CPM to run CRC and set bit in |