[PATCH 15/15] gsupplicant: Disconnect request might not need to go through RemoveNetwork call.

Samuel Ortiz sameo at linux.intel.com
Fri Jan 21 16:12:46 PST 2011


Hi Tomasz,

On Tue, Jan 11, 2011 at 03:54:08PM +0200, Tomasz Bursztyka wrote:
> ---
>  gsupplicant/supplicant.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
> index 162cbc7..13eff19 100644
> --- a/gsupplicant/supplicant.c
> +++ b/gsupplicant/supplicant.c
> @@ -2809,6 +2809,9 @@ static int network_remove(struct interface_data *data)
>  
>  	SUPPLICANT_DBG("");
>  
> +	if (interface->network_path == NULL)
> +		return;
> +
Care to explain how that's related to WPS ?

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the connman mailing list