hfpmodem: Make sure to use none_prefix
authorDenis Kenzior <denkenz@gmail.com>
Fri, 20 Feb 2015 16:30:21 +0000 (10:30 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Fri, 20 Feb 2015 16:30:21 +0000 (10:30 -0600)
ofonod[253]: > AT+CCWA=1\r
ofonod[253]: < \r\n+BCS:2\r\n
ofonod[253]: < \r\nOK\r\n

drivers/hfpmodem/voicecall.c

index 07e782496f52c55eea7c0b71eb1c8db13e3e5c45..afeb35fb2a1c3ea02a3a2f2c8a731faf8561bb1f 100644 (file)
@@ -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;
 }