diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-01-11 18:30:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-12 21:46:12 -0500 |
commit | 12252771691aaf4935206367e0917a8f697acfcb (patch) | |
tree | 7b8edec1fb719350baea34c78ddd2c34d3feaf5a /drivers/net/bfin_mac.c | |
parent | 6c64b0c696d7a650f52d75ea59375983ec0d5e33 (diff) |
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 'drivers/net/bfin_mac.c')
-rw-r--r-- | drivers/net/bfin_mac.c | 2 |
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) | |||
1293 | addrs = ha->addr; | 1293 | addrs = ha->addr; |
1294 | 1294 | ||
1295 | /* skip non-multicast addresses */ | 1295 | /* skip non-multicast addresses */ |
1296 | if (!(*addrs & 1)) | 1296 | if (!is_multicast_ether_addr(addrs)) |
1297 | continue; | 1297 | continue; |
1298 | 1298 | ||
1299 | crc = ether_crc(ETH_ALEN, addrs); | 1299 | crc = ether_crc(ETH_ALEN, addrs); |