Return-path: Received: from acsinet11.oracle.com ([141.146.126.233]:20375 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755371AbZFCRQb (ORCPT ); Wed, 3 Jun 2009 13:16:31 -0400 Message-ID: <4A26B06B.2090803@oracle.com> Date: Wed, 03 Jun 2009 10:18:35 -0700 From: Randy Dunlap MIME-Version: 1.0 To: Johannes Berg CC: John Linville , linux-wireless , Samuel Ortiz , Jussi Kivilinna Subject: Re: [PATCH] cfg80211: fix Kconfig for users of cfg80211 References: <1244046631.4862.34.camel@johannes.local> In-Reply-To: <1244046631.4862.34.camel@johannes.local> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Johannes Berg wrote: > * iwm doesn't depend on cfg80211 or wireless extensions > * rndis wlan selects cfg80211 - needs to depend > * mac80211 selects cfg80211 - needs to depend > > Signed-off-by: Johannes Berg Thanks. This fixes the reported build errors. Acked-by: Randy Dunlap I'll reply to the other email thread about similar errors in wimax-land. > --- > drivers/net/wireless/Kconfig | 2 +- > drivers/net/wireless/iwmc3200wifi/Kconfig | 2 ++ > net/mac80211/Kconfig | 5 ++++- > 3 files changed, 7 insertions(+), 2 deletions(-) > > --- wireless-testing.orig/net/mac80211/Kconfig 2009-06-03 18:20:06.000000000 +0200 > +++ wireless-testing/net/mac80211/Kconfig 2009-06-03 18:24:58.000000000 +0200 > @@ -1,16 +1,19 @@ > config MAC80211 > tristate "Generic IEEE 802.11 Networking Stack (mac80211)" > + depends on CFG80211 > select CRYPTO > select CRYPTO_ECB > select CRYPTO_ARC4 > select CRYPTO_AES > select CRC32 > select WIRELESS_EXT > - select CFG80211 > ---help--- > This option enables the hardware independent IEEE 802.11 > networking stack. > > +comment "CFG80211 needs to be enabled for MAC80211" > + depends on CFG80211=n > + > config MAC80211_DEFAULT_PS > bool "enable powersave by default" > depends on MAC80211 > --- wireless-testing.orig/drivers/net/wireless/iwmc3200wifi/Kconfig 2009-06-03 18:25:55.000000000 +0200 > +++ wireless-testing/drivers/net/wireless/iwmc3200wifi/Kconfig 2009-06-03 18:26:29.000000000 +0200 > @@ -1,6 +1,8 @@ > config IWM > tristate "Intel Wireless Multicomm 3200 WiFi driver" > depends on MMC && WLAN_80211 && EXPERIMENTAL > + depends on CFG80211 > + select WIRELESS_EXT > select LIB80211 > select FW_LOADER > > --- wireless-testing.orig/drivers/net/wireless/Kconfig 2009-06-03 18:26:37.000000000 +0200 > +++ wireless-testing/drivers/net/wireless/Kconfig 2009-06-03 18:26:46.000000000 +0200 > @@ -333,11 +333,11 @@ config USB_ZD1201 > config USB_NET_RNDIS_WLAN > tristate "Wireless RNDIS USB support" > depends on USB && WLAN_80211 && EXPERIMENTAL > + depends on CFG80211 > select USB_USBNET > select USB_NET_CDCETHER > select USB_NET_RNDIS_HOST > select WIRELESS_EXT > - select CFG80211 > ---help--- > This is a driver for wireless RNDIS devices. > These are USB based adapters found in devices such as: > > -- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/