voicecall: Quectel modem do not understand AT+CNAP

This commit is contained in:
Lars Poeschel 2020-05-26 12:16:24 +02:00 committed by Denis Kenzior
parent c7de38491d
commit f7f3b754ad
1 changed files with 3 additions and 1 deletions

View File

@ -1113,7 +1113,9 @@ static int at_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor,
g_at_chat_send(vd->chat, "AT+CRC=1", NULL, NULL, NULL, NULL);
g_at_chat_send(vd->chat, "AT+CLIP=1", NULL, NULL, NULL, NULL);
g_at_chat_send(vd->chat, "AT+CDIP=1", NULL, NULL, NULL, NULL);
g_at_chat_send(vd->chat, "AT+CNAP=1", NULL, NULL, NULL, NULL);
if (vd->vendor != OFONO_VENDOR_QUECTEL)
g_at_chat_send(vd->chat, "AT+CNAP=1", NULL, NULL, NULL, NULL);
switch (vd->vendor) {
case OFONO_VENDOR_QUALCOMM_MSM: