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 ;)
- __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.
Regards
Marcel