git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: batman-adv: Use kernel functions to identify broadcasts
[pandora-kernel.git]
/
drivers
/
staging
/
batman-adv
/
soft-interface.c
diff --git
a/drivers/staging/batman-adv/soft-interface.c
b/drivers/staging/batman-adv/soft-interface.c
index
9b968df
..
e89ede1
100644
(file)
--- a/
drivers/staging/batman-adv/soft-interface.c
+++ b/
drivers/staging/batman-adv/soft-interface.c
@@
-378,7
+378,7
@@
int interface_tx(struct sk_buff *skb, struct net_device *soft_iface)
/* TODO: check this for locks */
hna_local_add(soft_iface, ethhdr->h_source);
- if (is_
bcast(ethhdr->h_dest) || is_mcast
(ethhdr->h_dest)) {
+ if (is_
multicast_ether_addr
(ethhdr->h_dest)) {
ret = gw_is_target(bat_priv, skb);
if (ret < 0)