Hi Tomasz,
On Tue, Oct 18, 2011 at 05:03:11PM +0300, Tomasz Bursztyka wrote:
> This is useful so stop wpa_supplicant retrying to associate when we
> will not want to.
> ---
> gsupplicant/gsupplicant.h | 2 ++
> gsupplicant/supplicant.c | 25 +++++++++++++++++++++++++
> 2 files changed, 27 insertions(+), 0 deletions(-)
>
> diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
> index 49815e1..0f0a084 100644
> --- a/gsupplicant/gsupplicant.h
> +++ b/gsupplicant/gsupplicant.h
> @@ -200,6 +200,8 @@ unsigned int
> g_supplicant_interface_get_mode(GSupplicantInterface *interface);
> unsigned int g_supplicant_interface_get_max_scan_ssids(
> GSupplicantInterface *interface);
>
> +int g_supplicant_interface_disable_selected_network(GSupplicantInterface
> *interface);
> +
I would prefer to get a slightly more generic API, e.g.
g_supplicant_interface_enable_selected_network(
GSupplicantInterface *interface, dbus_bool_t enable);
It could be useful later on, and is basically free compared to your proposal.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman