summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-02-20 10:30:21 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-02-20 10:30:21 -0600
commitd6bc91ebfc1022bb382b1dc94240b103cfdd6dfd (patch)
tree6ba0c4fc4ce378eac29457ed6b094da358e0abed /drivers/hfpmodem
parent3d592d7d46ee1f718c2c3db41546fe74806573db (diff)
downloadofono-d6bc91ebfc1022bb382b1dc94240b103cfdd6dfd.tar.bz2
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
Diffstat (limited to 'drivers/hfpmodem')
-rw-r--r--drivers/hfpmodem/voicecall.c4
1 files 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;
}