hfp_hf_bluez5: Set remote and local information

This commit is contained in:
Denis Kenzior 2013-03-18 13:57:30 -05:00
parent 0f973d7150
commit afb4470558
1 changed files with 2 additions and 0 deletions

View File

@ -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;