---
 plugins/bluetooth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 1c8d3a0..09e318b 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -446,7 +446,7 @@ static void network_properties_reply(DBusPendingCall *call, 
void *user_data)
 
        connman_network_set_group(network, ident);
 
-       g_hash_table_insert(bluetooth_networks, g_strdup(path), network);
+       g_hash_table_replace(bluetooth_networks, g_strdup(path), network);
 
 done:
        dbus_message_unref(reply);
-- 
1.7.8.5

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

Reply via email to