aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/100-define.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-06 12:04:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-06 12:04:04 +0000
commit7e0e4fb486f80de36c04c58f3052862d895062e8 (patch)
tree944c49d6842113df11fd3cb1efd719b12ceba23c /package/mac80211/patches/100-define.patch
parent5d46bb5efce086255b76530781281f270f813ae2 (diff)
downloadupstream-7e0e4fb486f80de36c04c58f3052862d895062e8.tar.gz
upstream-7e0e4fb486f80de36c04c58f3052862d895062e8.tar.bz2
upstream-7e0e4fb486f80de36c04c58f3052862d895062e8.zip
add the new compat-wireless for 2.6.27 + multi-rate retry and minstrel patches, rename patches/ for old compat-wireless to patches-old/
SVN-Revision: 12865
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 0000000000..b41cad6943
--- /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 */