From: Timo Mueller <[email protected]>

---
 plugins/hfp_hf_bluez5.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index ff8afba..563bb0f 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -50,6 +50,7 @@
 #include <ofono/handsfree-audio.h>
 
 #include <drivers/hfpmodem/slc.h>
+#include <drivers/hfpmodem/vendor.h>
 
 #include "bluetooth.h"
 #include "bluez5.h"
@@ -283,12 +284,14 @@ static int hfp_disable(struct ofono_modem *modem)
 static void hfp_pre_sim(struct ofono_modem *modem)
 {
        struct hfp *hfp = ofono_modem_get_data(modem);
+       enum ofono_vendor vendor = OFONO_VENDOR_GENERIC;
+
        char *address = (char *) ofono_modem_get_string(modem, "Remote");
 
        DBG("%p", modem);
 
        ofono_devinfo_create(modem, 0, "hfpmodem", address);
-       ofono_voicecall_create(modem, 0, "hfpmodem", &hfp->info);
+       ofono_voicecall_create(modem, vendor, "hfpmodem", &hfp->info);
        ofono_netreg_create(modem, 0, "hfpmodem", &hfp->info);
        ofono_handsfree_create(modem, 0, "hfpmodem", &hfp->info);
        ofono_call_volume_create(modem, 0, "hfpmodem", &hfp->info);
-- 
1.7.11.7

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to