From: Timo Mueller <[email protected]>

---
 drivers/hfpmodem/voicecall.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 33dd05e..08e13f0 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -35,6 +35,7 @@
 #include <ofono/log.h>
 #include <ofono/modem.h>
 #include <ofono/voicecall.h>
+#include "vendor.h"
 
 #include "common.h"
 
@@ -60,6 +61,7 @@ struct voicecall_data {
        unsigned int clcc_source;
        unsigned int expect_release_source;
        unsigned int clip_source;
+       enum ofono_vendor vendor;
 };
 
 struct release_id_req {
@@ -1135,6 +1137,7 @@ static int hfp_voicecall_probe(struct ofono_voicecall 
*vc, unsigned int vendor,
        vd->chat = g_at_chat_clone(info->chat);
        vd->ag_features = info->ag_features;
        vd->ag_mpty_features = info->ag_mpty_features;
+       vd->vendor = vendor;
 
        memcpy(vd->cind_pos, info->cind_pos, HFP_INDICATOR_LAST);
        memcpy(vd->cind_val, info->cind_val, HFP_INDICATOR_LAST);
-- 
1.7.11.7

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

Reply via email to