2009-10-09 23:20:29

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH -next] libertas: depends on CFG80211

From: Randy Dunlap <[email protected]>

libertas uses CFG80211 functions so it should depend on that symbol.

drivers/built-in.o: In function `lbs_cfg_free':
(.text+0x9ca93): undefined reference to `wiphy_unregister'
drivers/built-in.o: In function `lbs_cfg_free':
(.text+0x9ca9a): undefined reference to `wiphy_free'
drivers/built-in.o: In function `lbs_cfg_register':
(.text+0x9cb45): undefined reference to `wiphy_register'
drivers/built-in.o: In function `lbs_cfg_alloc':
(.text+0x9cc64): undefined reference to `wiphy_new'

Signed-off-by: Randy Dunlap <[email protected]>
---
drivers/net/wireless/libertas/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20091009.orig/drivers/net/wireless/libertas/Kconfig
+++ linux-next-20091009/drivers/net/wireless/libertas/Kconfig
@@ -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


2009-10-12 07:12:46

by Holger Schurig

[permalink] [raw]
Subject: Re: [PATCH -next] libertas: depends on CFG80211

> libertas uses CFG80211 functions so it should depend on that
symbol.

Ack.


Sigh, I should concentrate more on getting clean patches on the
first iteration.

2009-10-12 07:20:19

by Holger Schurig

[permalink] [raw]
Subject: Re: [PATCH -next] libertas: depends on CFG80211

Oh, and I sent in the same patch:

http://marc.info/?l=linux-wireless&m=125507252131925&w=4

I don't care which one get's applied.



--
http://www.holgerschurig.de