aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-03 19:54:54 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-04 23:27:29 -0400
commitabfc89c7b5347b869d1c48ddae027caf91a2300d (patch)
tree1220f13cc81b737d660a89036ad89ecbe0370c95 /drivers/net/rionet.c
parent8bc3e1d8a16e6ef501af1c4d3abd7a90b4db1c0f (diff)
net: rionet: Use is_multicast_ether_addr
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/rionet.c')
-rw-r--r--drivers/net/rionet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rionet.c b/drivers/net/rionet.c
index 77c5092a6a40..bcdc54f2fe55 100644
--- a/drivers/net/rionet.c
+++ b/drivers/net/rionet.c
@@ -190,7 +190,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
190 return NETDEV_TX_BUSY; 190 return NETDEV_TX_BUSY;
191 } 191 }
192 192
193 if (eth->h_dest[0] & 0x01) { 193 if (is_multicast_ether_addr(eth->h_dest)) {
194 for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size); 194 for (i = 0; i < RIO_MAX_ROUTE_ENTRIES(rnet->mport->sys_size);
195 i++) 195 i++)
196 if (rionet_active[i]) 196 if (rionet_active[i])