Informs the HFP version of the remote device when the Audio Card is
created.
---
 plugins/hfp_hf_bluez5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index a8d8277..f201b05 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -454,7 +454,7 @@ 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(remote, local);
+       hfp->card = ofono_handsfree_card_create(remote, local, version);
 
        return NULL;
 
-- 
1.7.11.7

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to