compat-wireless: fix kernel check for CONFIG_WL18XX
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 05:13:22 +0000 (22:13 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 05:13:22 +0000 (22:13 -0700)
I meant you need at least 2.6.30 so the check should
be for ifdef CONFIG_COMPAT_KERNEL_2_6_30 as if
CONFIG_COMPAT_KERNEL_2_6_30 is defined it means we
have a kernel < 2.6.30

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
config.mk

index dce9fc48b8b500ca4c1b80b22b6a49ba6845a4b2..0978b687003b8ba11b6ff835a258942626e294f7 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -654,7 +654,7 @@ export CONFIG_WLCORE=m
 ifdef CONFIG_CRC7
 export CONFIG_WL1251=m
 export CONFIG_WL12XX=m
-ifdef CONFIG_COMPAT_KERNEL_2_6_30
+ifndef CONFIG_COMPAT_KERNEL_2_6_30
 export CONFIG_WL18XX=m
 endif #CONFIG_COMPAT_KERNEL_2_6_30
 endif #CONFIG_CRC7