madwifi: disable bogus vlan handling code which actually breaks vlan

SVN-Revision: 12065
This commit is contained in:
Felix Fietkau 2008-08-01 13:42:36 +00:00
parent 7836449276
commit 245c16ba5d
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
--- a/net80211/ieee80211_linux.h
+++ b/net80211/ieee80211_linux.h
@@ -661,22 +661,7 @@
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 *);