]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 8 Jan 2010 08:10:13 +0000 (09:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:41 +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/rtl8192u/Kconfig

index 9913ab8fb3595df422ff301681a96bb84afc6eda..0439c90b416346efefc20ec58d2c260036a85b2a 100644 (file)
@@ -1,6 +1,7 @@
 config RTL8192U
        tristate "RealTek RTL8192U Wireless LAN NIC driver"
        depends on PCI && WLAN && USB
-       depends on WIRELESS_EXT
+       select WIRELESS_EXT
+       select WEXT_PRIV
        default N
        ---help---