summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf_bluez5.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-03-18 13:57:30 -0500
committerDenis Kenzior <denkenz@gmail.com>2013-03-18 13:57:30 -0500
commitafb447055833c73db1bd4b75ee7d6c840000909a (patch)
tree663e0a7bfe46e6f199da660e199b3c03b77e73ae /plugins/hfp_hf_bluez5.c
parent0f973d715039682ba78589803dd96db3ee27109f (diff)
downloadofono-afb447055833c73db1bd4b75ee7d6c840000909a.tar.bz2
hfp_hf_bluez5: Set remote and local information
Diffstat (limited to 'plugins/hfp_hf_bluez5.c')
-rw-r--r--plugins/hfp_hf_bluez5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 4bf9b160..ff8afba8 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -397,6 +397,8 @@ static DBusMessage *profile_new_connection(DBusConnection *conn,
hfp = ofono_modem_get_data(modem);
hfp->msg = dbus_message_ref(msg);
hfp->card = ofono_handsfree_card_create(0, NULL, NULL);
+ ofono_handsfree_card_set_local(hfp->card, local);
+ ofono_handsfree_card_set_remote(hfp->card, remote);
return NULL;