Staging: wlan-ng: Add select WEXT_PRIV to Kconfig to prevent build failure
authorPeter Huewe <peterhuewe@gmx.de>
Thu, 7 Jan 2010 20:21:35 +0000 (21:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 16:06:05 +0000 (09:06 -0700)
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@gmx.de>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/Kconfig

index f44294b0d8dcfb99300c761b44df6a06f57c653b..f1af507ef9229e792d2ffd45e750266e6c86645a 100644 (file)
@@ -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