[PATCH 132/368] Staging: wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

Greg KH greg at kroah.com
Thu Mar 4 20:05:10 UTC 2010


From: Peter Huewe <peterhuewe at gmx.de>

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>
Acked-by: Simon Horman <horms at verge.net.au>
Cc: stable <stable at kernel.org>  [2.6.33 only]
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 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 WIRELESS_EXT
+	select WEXT_PRIV
 	default n
 	---help---
 	  This is the wlan-ng prism 2.5/3 USB driver for a wide range of
-- 
1.7.0.1




More information about the devel mailing list