Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- config.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config.mk b/config.mk index c06c9c2..55d5627 100644 --- a/config.mk +++ b/config.mk @@ -353,7 +353,11 @@ CONFIG_LIBERTAS=m # CONFIG_LIBERTAS_DEBUG=y endif +# We need the backported rfkill module on kernel < 2.6.31. +# In more recent kernel versions use the in kernel rfkill module. +ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 30 && echo yes),yes) CONFIG_RFKILL_BACKPORT=m CONFIG_RFKILL_BACKPORT_LEDS=y CONFIG_RFKILL_BACKPORT_INPUT=y +endif -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html