X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F010-disable_rfkill.patch;h=c5a92d6b482744b78892ab8f6082d25e0c39ea7b;hp=221ec6a87dd6f9698272530622d2f6a850a1a1d0;hb=801985e5286881dd578a19280b2a6c8e212a530d;hpb=bf045dedc6b5165cb1c82436b88c5234bfd71a63 diff --git a/package/mac80211/patches/010-disable_rfkill.patch b/package/mac80211/patches/010-disable_rfkill.patch index 221ec6a87d..c5a92d6b48 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 +#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 + #else