From: Peter Huewe Date: Fri, 8 Jan 2010 08:09:12 +0000 (+0100) Subject: Staging: otus: Add select WEXT_PRIV to Kconfig to prevent build failure X-Git-Tag: v2.6.34-rc1~10^2~1^2~221 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=95702ef05b9b6554c2669bdb9a6121af9f034171;p=linux-2.6-block.git Staging: otus: 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/otus/Kconfig b/drivers/staging/otus/Kconfig index f6cc2625e341..e9181340bef1 100644 --- a/drivers/staging/otus/Kconfig +++ b/drivers/staging/otus/Kconfig @@ -1,6 +1,8 @@ config OTUS tristate "Atheros OTUS 802.11n USB wireless support" depends on USB && WLAN && MAC80211 + select WIRELESS_EXT + select WEXT_PRIV default N ---help--- Enable support for Atheros 802.11n USB hardware: