diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-16 09:25:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-16 09:25:41 +0000 |
commit | 50f12e1b982ce4d71cfff9c7c370ffc059d9e301 (patch) | |
tree | ca67fe40dc06bf8ac927b7fe3bd392314495ac54 /package/mac80211/patches | |
parent | 5ca4d24cd1043e142515ac66c44a26a2371978d3 (diff) | |
download | mtk-20170518-50f12e1b982ce4d71cfff9c7c370ffc059d9e301.zip mtk-20170518-50f12e1b982ce4d71cfff9c7c370ffc059d9e301.tar.gz mtk-20170518-50f12e1b982ce4d71cfff9c7c370ffc059d9e301.tar.bz2 |
mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36940
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/010-disable_rfkill.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mac80211/patches/010-disable_rfkill.patch b/package/mac80211/patches/010-disable_rfkill.patch index 221ec6a..c5a92d6 100644 --- a/package/mac80211/patches/010-disable_rfkill.patch +++ b/package/mac80211/patches/010-disable_rfkill.patch @@ -1,13 +1,13 @@ --- a/backport-include/linux/rfkill.h +++ b/backport-include/linux/rfkill.h -@@ -43,6 +43,10 @@ struct rfkill_ops { - }; - #endif +@@ -2,6 +2,10 @@ + #define __COMPAT_RFKILL_H + #include <linux/version.h> +#undef CONFIG_RFKILL +#undef CONFIG_RFKILL_LEDS +#undef CONFIG_RFKILL_MODULE + - /* this changes infrequently, backport manually */ - enum rfkill_type { - RFKILL_TYPE_ALL = 0, + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) + #include_next <linux/rfkill.h> + #else |