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

From: Randy Dunlap <[email-masked]>
Date: Wed, 07 Oct 2009 14:55:38 -0700

John W. Linville wrote:
> 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]>

Sorry, it did not work for me.

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

Drivers like hostap and orinoco (hermes) select WEXT_PRIV regardless
of the setting of WEXT_CORE.  oh, and staging/ drivers do that also.

> @@ -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"