Ignore:
Timestamp:
2011-06-15T23:16:38+02:00 (5 years ago)
Author:
hauke
Message:

package/mac80211: Add linux 3.0 compatibility

Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File:
1 edited

Legend:

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

    r27071 r27187  
    11--- a/config.mk 
    22+++ b/config.mk 
    3 @@ -74,7 +74,7 @@ endif # build check 
     3@@ -87,7 +87,7 @@ endif # build check 
    44 endif # kernel Makefile check 
    55  
     
    1010 ifeq ($(CONFIG_MAC80211),y) 
    1111 $(error "ERROR: you have MAC80211 compiled into the kernel, CONFIG_MAC80211=y, as such you cannot replace its mac80211 driver. You need this set to CONFIG_MAC80211=m. If you are using Fedora upgrade your kernel as later version should this set as modular. For further information on Fedora see https://bugzilla.redhat.com/show_bug.cgi?id=470143. If you are using your own kernel recompile it and make mac80211 modular") 
    12 @@ -622,10 +622,10 @@ endif #CONFIG_COMPAT_KERNEL_27 
     12@@ -635,10 +635,10 @@ endif #CONFIG_COMPAT_KERNEL_2_6_27 
    1313 # We need the backported rfkill module on kernel < 2.6.31. 
    1414 # In more recent kernel versions use the in kernel rfkill module. 
    15  ifdef CONFIG_COMPAT_KERNEL_31 
     15 ifdef CONFIG_COMPAT_KERNEL_2_6_31 
    1616-CONFIG_RFKILL_BACKPORT=m 
    1717+# CONFIG_RFKILL_BACKPORT=m 
     
    2222-CONFIG_RFKILL_BACKPORT_INPUT=y 
    2323+# CONFIG_RFKILL_BACKPORT_INPUT=y 
    24  endif #CONFIG_COMPAT_KERNEL_31 
     24 endif #CONFIG_COMPAT_KERNEL_2_6_31 
    2525  
    2626--- a/include/linux/rfkill.h 
Note: See TracChangeset for help on using the changeset viewer.