summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-09-29 11:38:52 +0200
committerJohn Crispin <john@phrozen.org>2016-09-29 11:39:41 +0200
commit72e9d19f6e704124a7092353a12eabf21710d782 (patch)
treef4f1702d01471ed521570c988db90c5affb84642 /package/kernel/mac80211
parente79e555c0e973da0bde56165dbf57a0b9aedc4d5 (diff)
downloadmtk-20170518-72e9d19f6e704124a7092353a12eabf21710d782.zip
mtk-20170518-72e9d19f6e704124a7092353a12eabf21710d782.tar.gz
mtk-20170518-72e9d19f6e704124a7092353a12eabf21710d782.tar.bz2
mac80211: fix rfkill dependency
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/010-disable_rfkill.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/010-disable_rfkill.patch b/package/kernel/mac80211/patches/010-disable_rfkill.patch
index c5a92d6..2902e49 100644
--- a/package/kernel/mac80211/patches/010-disable_rfkill.patch
+++ b/package/kernel/mac80211/patches/010-disable_rfkill.patch
@@ -1,12 +1,14 @@
--- a/backport-include/linux/rfkill.h
+++ b/backport-include/linux/rfkill.h
-@@ -2,6 +2,10 @@
+@@ -2,6 +2,12 @@
#define __COMPAT_RFKILL_H
#include <linux/version.h>
+#undef CONFIG_RFKILL
++#undef CONFIG_RFKILL_FULL
+#undef CONFIG_RFKILL_LEDS
+#undef CONFIG_RFKILL_MODULE
++#undef CONFIG_RFKILL_FULL_MODULE
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
#include_next <linux/rfkill.h>