netdev: ucc_geth: Use is_multicast_ether_addr helper
authorTobias Klauser <tklauser@distanz.ch>
Tue, 11 Jan 2011 23:31:01 +0000 (23:31 +0000)
committerDavid 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

index acbdab3d66caa70081e30b87f41e5e82c7d88b33..dc6cb974f25d62ca1229538ba045a2d2c8b442f6 100644 (file)
@@ -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