summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/100-define.patch
blob: b41cad69432821fb2a54f2ab5e165394d926d982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 */