diff mbox

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

Message ID 20100310035414.28564.10870.stgit@mj.roinet.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Pavel Roskin March 10, 2010, 3:54 a.m. UTC
None
diff mbox

Patch

diff --git a/config.mk b/config.mk
index e5be3fd..990eac6 100644
--- a/config.mk
+++ b/config.mk
@@ -447,9 +447,11 @@  CONFIG_P54_LEDS=y
 CONFIG_ATH_COMMON=m
 # CONFIG_ATH_DEBUG=y
 
+ifneq ($(CONFIG_CRC7),)
 CONFIG_WL12XX=y
 CONFIG_WL1251=m
 CONFIG_WL1271=m
+endif
 
 ifdef CONFIG_COMPAT_KERNEL_27
 CONFIG_LIBERTAS=n