summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/010-disable_rfkill.patch
blob: c5a92d6b482744b78892ab8f6082d25e0c39ea7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/backport-include/linux/rfkill.h
+++ b/backport-include/linux/rfkill.h
@@ -2,6 +2,10 @@
 #define __COMPAT_RFKILL_H
 #include <linux/version.h>
 
+#undef CONFIG_RFKILL
+#undef CONFIG_RFKILL_LEDS
+#undef CONFIG_RFKILL_MODULE
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
 #include_next <linux/rfkill.h>
 #else