Subject: [PATCH] wireless: make WEXT_SPY and WEXT_PRIV select WEXT_CORE

From: "John W. Linville" <[email-masked]>
Date: Wed, 7 Oct 2009 17:07:52 -0400

Should prevent this build error reported by Randy...

net/wireless/wext-priv.c:206: error: implicit declaration of function 'call_commit_handler'
make[3]: *** [net/wireless/wext-priv.o] Error 1

Reported-by: Randy Dunlap <[email-masked]>
Signed-off-by: John W. Linville <[email-masked]>
---
 net/wireless/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index 614bdce..d3ecca3 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -12,9 +12,11 @@ config WEXT_PROC
 
 config WEXT_SPY
 	bool
+	depends on WEXT_CORE
 
 config WEXT_PRIV
 	bool
+	depends on WEXT_CORE
 
 config CFG80211
 	tristate "cfg80211 - wireless configuration API"
-- 
1.6.2.5