Staging: otus: Add select WEXT_PRIV to Kconfig to prevent build failure
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 8 Jan 2010 08:09:12 +0000 (09:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:40 +0000 (16:42 -0800)
Without WEXT_PRIV set the driver 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/otus/Kconfig

index f6cc262..e918134 100644 (file)
@@ -1,6 +1,8 @@
 config OTUS
        tristate "Atheros OTUS 802.11n USB wireless support"
        depends on USB && WLAN && MAC80211
+       select WIRELESS_EXT
+       select WEXT_PRIV
        default N
        ---help---
          Enable support for Atheros 802.11n USB hardware: