[source] mac80211: fix rfkill dependency

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 29 02:39:46 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/72e9d19f6e704124a7092353a12eabf21710d782

commit 72e9d19f6e704124a7092353a12eabf21710d782
Author: John Crispin <john at phrozen.org>
AuthorDate: Thu Sep 29 11:38:52 2016 +0200

    mac80211: fix rfkill dependency
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/kernel/mac80211/patches/010-disable_rfkill.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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>



More information about the lede-commits mailing list