Changeset 24143


Ignore:
Timestamp:
2010-11-25T15:45:18+01:00 (7 years ago)
Author:
hauke
Message:

mac80211: cfg80211 should not depend on rfkill.

If rfkill is build as an module CONFIG_RFKILL_MODULE is set and cfg80211 will also depend on that.
Now all modules build from compat-wireless will not use rfkill.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/002-disable_rfkill.patch

    r24017 r24143  
    2222 endif #CONFIG_COMPAT_KERNEL_31 
    2323  
     24--- a/include/linux/rfkill.h 
     25+++ b/include/linux/rfkill.h 
     26@@ -3,6 +3,10 @@ 
     27  
     28 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)) 
     29  
     30+#undef CONFIG_RFKILL 
     31+#undef CONFIG_RFKILL_LEDS 
     32+#undef CONFIG_RFKILL_MODULE 
     33+ 
     34 #include_next <linux/rfkill.h> 
     35  
     36 #else 
Note: See TracChangeset for help on using the changeset viewer.