Hi,
I noticed when using ConnMan with oFono plugin enabled that I had a crash when
I close oFono or I disable phonesim modem. It seems that we are unrefing and
unregistering the network althugh it has already been done by device object in
calling connman_device_remove_network().
Kind regards,
Guillaume
---
plugins/ofono.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/plugins/ofono.c b/plugins/ofono.c
index c24165e..076fc3e 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -365,9 +365,6 @@ static void remove_network(gpointer data)
{
struct network_info *info = data;
- connman_network_unregister(info->network);
- connman_network_unref(info->network);
-
g_free(info);
}
--
1.7.1
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman