mac80211: clean up patches, replace patching config.mk with a generated sed expression
[openwrt.git] / package / mac80211 / patches / 001-disable_rfkill.patch
1 --- a/include/linux/rfkill.h
2 +++ b/include/linux/rfkill.h
3 @@ -3,6 +3,10 @@
4  
5  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31))
6  
7 +#undef CONFIG_RFKILL
8 +#undef CONFIG_RFKILL_LEDS
9 +#undef CONFIG_RFKILL_MODULE
10 +
11  #include_next <linux/rfkill.h>
12  
13  #else