lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Select WIRELESS_EXT for the rndis_wlan driver to compile
Hi,

Thanks for reporting. Correct way to fix this is to replace
wireless_send_event() with cfg80211_disconnect(). I'll post patch soon.

-Jussi

Quoting "Rogério Brito" <rbrito@ime.usp.br>:

> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-05-18 08:49    [W:0.046 / U:17.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site