[PATCH 2/3] staging/rtl8192u: Add select WEXT_PRIV to Kconfig to prevent build failure

Peter Huewe PeterHuewe at gmx.de
Thu Jan 7 20:35:08 UTC 2010


From: Peter Huewe <peterhuewe at gmx.de>
Date: Thu, 7 Jan 2010 21:19:11 +0100

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 at gmx.de>
---
Patch against Linux-next of Do 7. Jan 19:59:41 CET 2010

 drivers/staging/rtl8192u/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/rtl8192u/Kconfig b/drivers/staging/rtl8192u/Kconfig
index 9913ab8..8e5eb92 100644
--- a/drivers/staging/rtl8192u/Kconfig
+++ b/drivers/staging/rtl8192u/Kconfig
@@ -2,5 +2,6 @@ config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
 	depends on WIRELESS_EXT
+    select WEXT_PRIV
 	default N
 	---help---
-- 
1.6.4.4





More information about the devel mailing list