mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36940
This commit is contained in:
parent
5ca4d24cd1
commit
50f12e1b98
@ -1,13 +1,13 @@
|
|||||||
--- a/backport-include/linux/rfkill.h
|
--- a/backport-include/linux/rfkill.h
|
||||||
+++ b/backport-include/linux/rfkill.h
|
+++ b/backport-include/linux/rfkill.h
|
||||||
@@ -43,6 +43,10 @@ struct rfkill_ops {
|
@@ -2,6 +2,10 @@
|
||||||
};
|
#define __COMPAT_RFKILL_H
|
||||||
#endif
|
#include <linux/version.h>
|
||||||
|
|
||||||
+#undef CONFIG_RFKILL
|
+#undef CONFIG_RFKILL
|
||||||
+#undef CONFIG_RFKILL_LEDS
|
+#undef CONFIG_RFKILL_LEDS
|
||||||
+#undef CONFIG_RFKILL_MODULE
|
+#undef CONFIG_RFKILL_MODULE
|
||||||
+
|
+
|
||||||
/* this changes infrequently, backport manually */
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
|
||||||
enum rfkill_type {
|
#include_next <linux/rfkill.h>
|
||||||
RFKILL_TYPE_ALL = 0,
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user