From d6bc91ebfc1022bb382b1dc94240b103cfdd6dfd Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 20 Feb 2015 10:30:21 -0600 Subject: [PATCH] hfpmodem: Make sure to use none_prefix ofonod[253]: > AT+CCWA=1\r ofonod[253]: < \r\n+BCS:2\r\n ofonod[253]: < \r\nOK\r\n --- drivers/hfpmodem/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 07e78249..afeb35fb 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -1183,8 +1183,8 @@ static int hfp_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor, ofono_voicecall_set_data(vc, vd); - g_at_chat_send(vd->chat, "AT+CLIP=1", NULL, NULL, NULL, NULL); - g_at_chat_send(vd->chat, "AT+CCWA=1", NULL, + g_at_chat_send(vd->chat, "AT+CLIP=1", none_prefix, NULL, NULL, NULL); + g_at_chat_send(vd->chat, "AT+CCWA=1", none_prefix, hfp_voicecall_initialized, vc, NULL); return 0; }