From: Peter Huewe Date: Fri, 8 Jan 2010 08:10:13 +0000 (+0100) Subject: Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure X-Git-Tag: v2.6.34-rc1~10^2~1^2~220 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=733acf902fbafb6571fce45ee77b1516aaae1bc6;p=~shefty%2Frdma-dev.git 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 Acked-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig index 9913ab8fb35..0439c90b416 100644 --- a/drivers/staging/rtl8192u/Kconfig +++ b/drivers/staging/rtl8192u/Kconfig @@ -1,6 +1,7 @@ config RTL8192U tristate "RealTek RTL8192U Wireless LAN NIC driver" depends on PCI && WLAN && USB - depends on WIRELESS_EXT + select WIRELESS_EXT + select WEXT_PRIV default N ---help---