mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
94d72176f6
commit
b81c087f6d
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue