summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorFrank Leipold <frank.leipold@eads.net>2009-06-01 12:03:15 +0100
committerDavid Vrabel <david.vrabel@csr.com>2009-06-01 12:03:15 +0100
commitb81c087f6deb049023e41ce00717202a953f3939 (patch)
tree79664a0ce2c1c3bd99370e0ffbc153e32069d546 /drivers/uwb
parent94d72176f69954d7a20e95e97dc101a4b521ce57 (diff)
downloadkernel-common-b81c087f6deb049023e41ce00717202a953f3939.tar.gz
kernel-common-b81c087f6deb049023e41ce00717202a953f3939.tar.bz2
kernel-common-b81c087f6deb049023e41ce00717202a953f3939.zip
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>
Diffstat (limited to 'drivers/uwb')
-rw-r--r--drivers/uwb/wlp/txrx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/wlp/txrx.c b/drivers/uwb/wlp/txrx.c
index cd2035768b47..86a853b84119 100644
--- a/drivers/uwb/wlp/txrx.c
+++ b/drivers/uwb/wlp/txrx.c
@@ -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())