lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 18 May 2010 00:14:36 -0300
From:	Rogério Brito <rbrito@....usp.br>
To:	Jussi Kivilinna <jussi.kivilinna@...et.fi>
Cc:	linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Select WIRELESS_EXT for the rndis_wlan driver to compile

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ