Signed-off-by: Holger Schurig <[email protected]>
---
Fixes bug noted by Stephen Rothwell:
> On Wed, 7 Oct 2009 17:35:17 +1100 Stephen Rothwell wrote:
>
> > Hi all,
> >
> > Changes since 20091006:
>
>
> drivers/built-in.o: In function `lbs_cfg_free':
> (.text+0x3479e0): undefined reference to `wiphy_unregister'
> drivers/built-in.o: In function `lbs_cfg_free':
> (.text+0x3479e7): undefined reference to `wiphy_free'
> drivers/built-in.o: In function `lbs_cfg_register':
> (.text+0x347a52): undefined reference to `wiphy_register'
> drivers/built-in.o: In function `lbs_cfg_alloc':
> (.text+0x347acf): undefined reference to `wiphy_new'
Index: linux-wl/drivers/net/wireless/libertas/Kconfig
===================================================================
--- linux-wl.orig/drivers/net/wireless/libertas/Kconfig 2009-10-09 08:00:03.000000000 +0200
+++ linux-wl/drivers/net/wireless/libertas/Kconfig 2009-10-09 08:00:27.000000000 +0200
@@ -1,6 +1,6 @@
config LIBERTAS
tristate "Marvell 8xxx Libertas WLAN driver support"
- depends on WLAN_80211
+ depends on WLAN_80211 && CFG80211
select WIRELESS_EXT
select WEXT_SPY
select LIB80211
--
http://www.holgerschurig.de