Select WIRELESS_EXT for the rndis_wlan driver to compile
PATCH 1/1 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(-)
drivers/net/wireless/Kconfig +1 -0
@@ -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
Signature · 1 line
1.7.1
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" <[email protected]>:
Quoted 38 lines
The rndis_wlan.ko module needs the function
wireless_send_event, which is not included if the optionWIRELESS_EXTis 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(-)drivers/net/wireless/Kconfig +1
-1@@ -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