> +#ifdef CONFIG_MAC80211_MESH > +#include "mesh.h" > +#endif same here. > @@ -1474,8 +1512,8 @@ int ieee80211_subif_start_xmit(struct sk_buff *skb, > * EAPOL frames from the local station. > */ > if (unlikely(!is_multicast_ether_addr(hdr.addr1) && > - !(sta_flags & WLAN_STA_AUTHORIZED) && > - !(ethertype == ETH_P_PAE && > + !(sta_flags & WLAN_STA_AUTHORIZED) && > + !(ethertype == ETH_P_PAE && > compare_ether_addr(dev->dev_addr, > skb->data + ETH_ALEN) == 0))) { > #ifdef CONFIG_MAC80211_VERBOSE_DEBUG ? > +#ifdef CONFIG_MAC80211_MESH > +static struct sk_buff *ieee80211_mesh_beacon_get(struct net_device *dev) > +{ > + struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); > + struct sk_buff *skb = dev_alloc_skb(local->hw.extra_tx_headroom + 400); What's 400? No way to know how large it'll get? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part