From: Hauke Mehrtens Date: Thu, 10 Feb 2011 15:26:29 +0000 (+0100) Subject: compat-wireless: build zd1211rw only for kernel >= 2.6.29 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01b5ef0ff941d782a25a5e3b456668e9f2e314c9;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: build zd1211rw only for kernel >= 2.6.29 zd1211rw uses usb_queue_reset_device() which is not backported now. Signed-off-by: Hauke Mehrtens --- diff --git a/config.mk b/config.mk index d8712e8314ed..9a206d9ee933 100644 --- 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...