mirror of git://git.sysmocom.de/ofono
hfp_hf_bluez5: Set remote and local information
This commit is contained in:
parent
0f973d7150
commit
afb4470558
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue