Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
uwb: allow WLP to be used with IPv6.

Ethernet multicast addresses are supported by mapping them to
broadcast WLP frames. These are frequently used in IPv6 traffic.

Signed-off-by: Frank Leipold <frank.leipold@eads.net>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
  • Loading branch information
Frank Leipold authored and David Vrabel committed Jun 1, 2009
1 parent 94d7217 commit b81c087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/uwb/wlp/txrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ int wlp_prepare_tx_frame(struct device *dev, struct wlp *wlp,
int result = -EINVAL;
struct ethhdr *eth_hdr = (void *) skb->data;

if (is_broadcast_ether_addr(eth_hdr->h_dest)) {
if (is_multicast_ether_addr(eth_hdr->h_dest)) {
result = wlp_eda_for_each(&wlp->eda, wlp_wss_send_copy, skb);
if (result < 0) {
if (printk_ratelimit())
Expand Down

0 comments on commit b81c087

Please sign in to comment.