summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/100-define.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-06 12:04:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-06 12:04:04 +0000
commit8ddac8e3cd45a826c487e2aac796c48f3c25f0b1 (patch)
tree0a2c7b4cdbdf7c3ab80547d8da05fc804b9ba3d5 /package/mac80211/patches/100-define.patch
parent3e7cd682f49bbdf53a918e5d178991a781951bf6 (diff)
add the new compat-wireless for 2.6.27 + multi-rate retry and minstrel patches, rename patches/ for old compat-wireless to patches-old/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/100-define.patch')
-rw-r--r--package/mac80211/patches/100-define.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/100-define.patch b/package/mac80211/patches/100-define.patch
new file mode 100644
index 000000000..b41cad694
--- /dev/null
+++ b/package/mac80211/patches/100-define.patch
@@ -0,0 +1,14 @@
+--- a/include/net/compat.h
++++ b/include/net/compat.h
+@@ -6,6 +6,11 @@
+ #include <linux/compat_autoconf.h>
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28))
++#include <linux/if_ether.h>
++
++#ifndef ETH_P_PAE
++#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
++#endif
+ #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) */
+
+ #endif /* LINUX_26_COMPAT_H */