mirror of https://github.com/hak5/openwrt.git
15 lines
382 B
Diff
15 lines
382 B
Diff
--- 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 */
|