this patch fixes package/Makefile.
[openwrt.git] / package / madwifi / patches / 377-disable_vlan_code.patch
1 --- a/net80211/ieee80211_linux.h
2 +++ b/net80211/ieee80211_linux.h
3 @@ -657,22 +657,7 @@ int ieee80211_proc_vcreate(struct ieee80
4 char *);
5 void ieee80211_proc_cleanup(struct ieee80211vap *);
6
7 -#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
8 -#define IEEE80211_VLAN_TAG_USED 1
9 -
10 -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20)
11 -#define vlan_hwaccel_receive_skb(skb, grp, tag) vlan_hwaccel_rx(skb, grp, tag)
12 -#endif
13 -
14 -#ifndef VLAN_GROUP_ARRAY_PART_LEN
15 -#define vlan_group_set_device(group, vid, dev) do { \
16 - group->vlan_devices[vid] = dev; \
17 -} while (0);
18 -#endif
19 -
20 -#else
21 #define IEEE80211_VLAN_TAG_USED 0
22 -#endif
23 void ieee80211_vlan_vattach(struct ieee80211vap *);
24 void ieee80211_vlan_vdetach(struct ieee80211vap *);
25
This page took 0.044187 seconds and 5 git commands to generate.