From f7f3b754adfd4502a7177a7781f7502dbc4de471 Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Tue, 26 May 2020 12:16:24 +0200 Subject: [PATCH] voicecall: Quectel modem do not understand AT+CNAP --- drivers/atmodem/voicecall.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 7ab6567f..e7f24b60 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -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: