mirror of https://github.com/hak5/openwrt.git
mac80211: fix rfkill dependency
Signed-off-by: John Crispin <john@phrozen.org>lede-17.01
parent
e79e555c0e
commit
72e9d19f6e
|
@ -1,12 +1,14 @@
|
||||||
--- a/backport-include/linux/rfkill.h
|
--- a/backport-include/linux/rfkill.h
|
||||||
+++ b/backport-include/linux/rfkill.h
|
+++ b/backport-include/linux/rfkill.h
|
||||||
@@ -2,6 +2,10 @@
|
@@ -2,6 +2,12 @@
|
||||||
#define __COMPAT_RFKILL_H
|
#define __COMPAT_RFKILL_H
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
||||||
+#undef CONFIG_RFKILL
|
+#undef CONFIG_RFKILL
|
||||||
|
+#undef CONFIG_RFKILL_FULL
|
||||||
+#undef CONFIG_RFKILL_LEDS
|
+#undef CONFIG_RFKILL_LEDS
|
||||||
+#undef CONFIG_RFKILL_MODULE
|
+#undef CONFIG_RFKILL_MODULE
|
||||||
|
+#undef CONFIG_RFKILL_FULL_MODULE
|
||||||
+
|
+
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
|
||||||
#include_next <linux/rfkill.h>
|
#include_next <linux/rfkill.h>
|
||||||
|
|
Loading…
Reference in New Issue