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>
Thu, 4 Mar 2010 00:42:41 +0000 (16:42 -0800)
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>
Cc: stable <stable@kernel.org> [2.6.33 only]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/Kconfig

index 704ebd26e628e12ca89951b2f0c78f05727d4da4..82fcc1665e92e54ce504e96be39a7db1e5bfff2a 100644 (file)
@@ -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