summaryrefslogtreecommitdiff
path: root/src/modules/module-bt-proximity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/module-bt-proximity.c')
-rw-r--r--src/modules/module-bt-proximity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-bt-proximity.c b/src/modules/module-bt-proximity.c
index f6125233..62d530d4 100644
--- a/src/modules/module-bt-proximity.c
+++ b/src/modules/module-bt-proximity.c
@@ -261,7 +261,7 @@ static struct bonding* bonding_new(struct userdata *u, const char *a) {
dbus_message_unref(m);
dbus_message_unref(r);
- pa_hashmap_put(u->bondings, a, b);
+ pa_hashmap_put(u->bondings, b->address, b);
return b;