diff options
-rw-r--r-- | plugins/hfp_hf_bluez5.c | 2 |
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; |