[patch 026/123] Staging: wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure

From: Greg KH
Date: Fri Mar 12 2010 - 20:20:21 EST


2.6.33-stable review patch. If anyone has any objections, please let me know.

-----------------

From: Peter Huewe <peterhuewe@xxxxxx>

commit 8a8e29752dfdba014b866d3c587d3409e57263dd upstream.

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@xxxxxx>
Acked-by: Simon Horman <horms@xxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
drivers/staging/wlan-ng/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/staging/wlan-ng/Kconfig
+++ b/drivers/staging/wlan-ng/Kconfig
@@ -1,6 +1,7 @@
config PRISM2_USB
tristate "Prism2.5/3 USB driver"
depends on WLAN && USB && WIRELESS_EXT
+ select WEXT_PRIV
default n
---help---
This is the wlan-ng prism 2.5/3 USB driver for a wide range of


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/