Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] Select WIRELESS_EXT for the rndis_wlan driver to compile
@ 2010-05-18  3:14 Rogério Brito
  2010-05-18  6:38 ` Jussi Kivilinna
  0 siblings, 1 reply; 2+ messages in thread
From: Rogério Brito @ 2010-05-18  3:14 UTC (permalink / raw)
  To: Jussi Kivilinna; +Cc: linux-wireless, linux-kernel

The rndis_wlan.ko module needs the function wireless_send_event, which
is not included if the option WIRELESS_EXT is not selected by the
driver.  Otherwise, the user gets compilation problems like:

,----
| (...)
| Kernel: arch/x86/boot/bzImage is ready  (#3)
|   Building modules, stage 2.
|   MODPOST 427 modules
| ERROR: "wireless_send_event" [drivers/net/wireless/rndis_wlan.ko] undefined!
| make[1]: *** [__modpost] Error 1
| make: *** [modules] Error 2
`----
---

I don't know if this is a proper fix, but I would love to know a better
solution to the problem.

 drivers/net/wireless/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index 5889436..0d5fff4 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -186,6 +186,7 @@ config USB_NET_RNDIS_WLAN
 	tristate "Wireless RNDIS USB support"
 	depends on USB && EXPERIMENTAL
 	depends on CFG80211
+	select WIRELESS_EXT
 	select USB_USBNET
 	select USB_NET_CDCETHER
 	select USB_NET_RNDIS_HOST
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-18  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18  3:14 [PATCH] Select WIRELESS_EXT for the rndis_wlan driver to compile Rogério Brito
2010-05-18  6:38 ` Jussi Kivilinna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox