Hi Mohamed,

> Call provider init/cleanup on connman exit.
>     
> ---
> 
> diff --git a/src/element.c b/src/element.c
> index d2e8701..8f8c2db 100644
> --- a/src/element.c
> +++ b/src/element.c
> @@ -1584,6 +1584,7 @@ int __connman_element_init(const char *device, const 
> char *nodevice)
>  
>       __connman_notifier_init();
>       __connman_service_init();
> +     __connman_provider_init();
>       __connman_network_init();
>       __connman_device_init();
>  
> @@ -1674,6 +1675,7 @@ void __connman_element_cleanup(void)
>  
>       __connman_device_cleanup();
>       __connman_network_cleanup();
> +     __connman_provider_cleanup();
>       __connman_service_cleanup();
>       __connman_notifier_cleanup();

please merge this one with your first patch. There is no point in
splitting them up.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to