diff mbox

[2/2] compat-wireless: disable wl12xx if crc7 is not available

Message ID 1268195656.10669.37.camel@mj (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Pavel Roskin March 10, 2010, 4:34 a.m. UTC
None
diff mbox

Patch

diff --git a/config.mk b/config.mk
index e5be3fd..f4f019f 100644
--- a/config.mk
+++ b/config.mk
@@ -386,7 +386,9 @@  endif # end of USB driver list
 ifneq ($(CONFIG_SPI_MASTER),)
 
 CONFIG_WL1251=m
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL1251_SPI=m
+endif
 CONFIG_P54_SPI=m
 
 ifdef CONFIG_COMPAT_KERNEL_27
@@ -449,7 +451,9 @@  CONFIG_ATH_COMMON=m
 
 CONFIG_WL12XX=y
 CONFIG_WL1251=m
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL1271=m
+endif
 
 ifdef CONFIG_COMPAT_KERNEL_27
 CONFIG_LIBERTAS=n