Subject: Re: print_ssid undefined (linux-next 20081103)

From: "Luis R. Rodriguez" <[email-masked]>
Date: Mon, 3 Nov 2008 12:12:06 -0800

On Mon, Nov 03, 2008 at 11:42:22AM -0800, Randy Dunlap wrote:
> Hi,
> 
> I'm seeing a few instances of
> 
> ERROR: "print_ssid" [drivers/net/wireless/ipw2100.ko] undefined!
> 
> with ipw2100 & ipw2200 in today's linux-next (20081103).
> 
> These configs have
> # CONFIG_WIRELESS is not set
> CONFIG_WIRELESS_EXT=y
> 
> In looking into this more, I see that the wireless drivers can be enabled
> & built even when CONFIG_WIRELESS=n.  Is this the expected behavior?
> Seems a bit odd.

Try this.

diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index 42afaed..6f85bec 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -125,7 +125,7 @@ config PCMCIA_RAYCS
 
 config IPW2100
 	tristate "Intel PRO/Wireless 2100 Network Connection"
-	depends on PCI && WLAN_80211
+	depends on PCI && WLAN_80211 && LIB80211
 	select WIRELESS_EXT
 	select FW_LOADER
 	select IEEE80211
@@ -183,7 +183,7 @@ config IPW2100_DEBUG
 
 config IPW2200
 	tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
-	depends on PCI && WLAN_80211
+	depends on PCI && WLAN_80211 && LIB80211
 	select WIRELESS_EXT
 	select FW_LOADER
 	select IEEE80211