From 9a6e31a85c28b1910150dfc51eb3d202c8173b88 Mon Sep 17 00:00:00 2001 From: Sven-Haegar Koch Date: Tue, 23 Nov 2010 14:27:35 -0800 Subject: [PATCH] compat-wireless: fix activesync devices Compiling support for ActiveSync devices in compat-wireless depends on USB_NET_CDCETHER to be set in main kernel. But USB_NET_CDCETHER can also be a module, in which case CONFIG_USB_NET_CDCETHER will not be defined inside compat_autoconf.h and the compat-wireless cdc_ether.ko will miss the support for it. So check also for CONFIG_USB_NET_CDCETHER_MODULE in config.mk to be safe in both cases. Signed-off-by: Sven-Haegar Koch --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.mk b/config.mk index 81cbf3101b28..ee20543ae650 100644 --- a/config.mk +++ b/config.mk @@ -397,6 +397,10 @@ ifdef CONFIG_USB_NET_CDCETHER CONFIG_USB_NET_COMPAT_RNDIS_HOST=m CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m endif #CONFIG_USB_NET_CDCETHER +ifdef CONFIG_USB_NET_CDCETHER_MODULE +CONFIG_USB_NET_COMPAT_RNDIS_HOST=m +CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m +endif #CONFIG_USB_NET_CDCETHER CONFIG_USB_NET_COMPAT_CDCETHER=m endif #CONFIG_COMPAT_KERNEL_29 -- 2.30.2