projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
502db25
)
bluetooth: use g_hash_table_replace instead of insert function
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Tue, 17 Apr 2012 10:54:20 +0000
(13:54 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 17 Apr 2012 11:31:22 +0000
(13:31 +0200)
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index
1c8d3a0
..
09e318b
100644
(file)
--- 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);