1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 14:31:53 +02:00
openwrt-xburst/package/madwifi/patches/377-disable_vlan_code.patch
nbd e9ba1f0c59 fix a rare wds related noderef issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-02 13:03:03 +00:00

26 lines
754 B
Diff

--- a/net80211/ieee80211_linux.h
+++ b/net80211/ieee80211_linux.h
@@ -649,22 +649,7 @@ int ieee80211_proc_vcreate(struct ieee80
char *);
void ieee80211_proc_cleanup(struct ieee80211vap *);
-#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
-#define IEEE80211_VLAN_TAG_USED 1
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20)
-#define vlan_hwaccel_receive_skb(skb, grp, tag) vlan_hwaccel_rx(skb, grp, tag)
-#endif
-
-#ifndef VLAN_GROUP_ARRAY_PART_LEN
-#define vlan_group_set_device(group, vid, dev) do { \
- group->vlan_devices[vid] = dev; \
-} while (0);
-#endif
-
-#else
#define IEEE80211_VLAN_TAG_USED 0
-#endif
void ieee80211_vlan_vattach(struct ieee80211vap *);
void ieee80211_vlan_vdetach(struct ieee80211vap *);