summaryrefslogtreecommitdiffstats
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-01-12 00:30:11 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-13 03:46:12 +0100
commit12252771691aaf4935206367e0917a8f697acfcb (patch)
tree7b8edec1fb719350baea34c78ddd2c34d3feaf5a /drivers/net/bfin_mac.c
parentnetdev: ucc_geth: Use is_multicast_ether_addr helper (diff)
downloadlinux-12252771691aaf4935206367e0917a8f697acfcb.tar.xz
linux-12252771691aaf4935206367e0917a8f697acfcb.zip
netdev: bfin_mac: Use is_multicast_ether_addr helper
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/bfin_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index 0b9fc5173aef..fe75e7a9742e 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -1293,7 +1293,7 @@ static void bfin_mac_multicast_hash(struct net_device *dev)
addrs = ha->addr;
/* skip non-multicast addresses */
- if (!(*addrs & 1))
+ if (!is_multicast_ether_addr(addrs))
continue;
crc = ether_crc(ETH_ALEN, addrs);