Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

Without WEXT_PRIV set the driver fails to build due to unknown fields in
the iw_handler_def struct.
Those fields are enclosed in WEXT_PRIV conditionals in the prototype
of iw_handler_def in include/net/iw_handler.h

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Peter Huewe and committed by
Greg Kroah-Hartman
733acf90 95702ef0

+2 -1
+2 -1
drivers/staging/rtl8192u/Kconfig
··· 1 1 config RTL8192U 2 2 tristate "RealTek RTL8192U Wireless LAN NIC driver" 3 3 depends on PCI && WLAN && USB 4 - depends on WIRELESS_EXT 4 + select WIRELESS_EXT 5 + select WEXT_PRIV 5 6 default N 6 7 ---help---