[PATCH 3/3] staging/wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

Peter Huewe PeterHuewe at gmx.de
Thu Jan 7 20:36:38 UTC 2010

From: Peter Huewe <peterhuewe at gmx.de>
Date: Thu, 7 Jan 2010 21:21:35 +0100

Without WEXT_PRIV set the p80211wext.c 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 at gmx.de>
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010
 drivers/staging/wlan-ng/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/wlan-ng/Kconfig b/drivers/staging/wlan-ng/Kconfig
index 704ebd2..82fcc16 100644
--- a/drivers/staging/wlan-ng/Kconfig
+++ b/drivers/staging/wlan-ng/Kconfig
@@ -2,6 +2,7 @@ config PRISM2_USB
 	tristate "Prism2.5/3 USB driver"
 	depends on WLAN && USB
+	select WEXT_PRIV
 	default n
 	  This is the wlan-ng prism 2.5/3 USB driver for a wide range of

More information about the devel mailing list