Hi Holtmann,
Marcel Holtmann wrote:
Hi Zhenhua,
> Support to load or not load specific plugin when ofono is started.
> E.g., use 'ofonod -P hfp' to disable hfp plugin.
> ---
> src/main.c | 11 ++++++++++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
patch has been applied. I did all the hard work - just forgot to hook
it up properly ;)
Thanks.
> - __ofono_plugin_init(NULL, NULL);
> + __ofono_plugin_init(option_plugin, option_noplugin); +
> + g_free(option_plugin);
> + g_free(option_noplugin);
Please also send a ConnMan patch to fix the memory leak that ConnMan
has here actually.
ConnMan does free the string propertly. So we don't need more fixes. :-)
Regards,
Zhenhua
Regards
Marcel
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono
Regards,
Zhenhua