compat-wireless: build zd1211rw only for kernel >= 2.6.29
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 10 Feb 2011 15:26:29 +0000 (16:26 +0100)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 10 Feb 2011 17:47:10 +0000 (09:47 -0800)
zd1211rw uses usb_queue_reset_device() which is not backported now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config.mk

index d8712e8314ed0abb17263b6cecb5979777fd8cdc..9a206d9ee9334c8313e41c729f95f50802acdc06 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -387,8 +387,12 @@ CONFIG_EEPROM_93CX6=m
 
 # USB Drivers
 ifdef CONFIG_USB
+ifndef CONFIG_COMPAT_KERNEL_29
 CONFIG_ZD1211RW=m
 # CONFIG_ZD1211RW_DEBUG=y
+else
+CONFIG_ZD1211RW=n
+endif #CONFIG_COMPAT_KERNEL_29
 
 # Sorry, rndis_wlan uses cancel_work_sync which is new and can't be done in compat...