summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2020-05-26 12:16:24 +0200
committerDenis Kenzior <denkenz@gmail.com>2020-05-21 08:28:20 -0500
commitf7f3b754adfd4502a7177a7781f7502dbc4de471 (patch)
treec461a6a6c3dee9410ea6120533188c75f8a2550a /drivers
parentc7de38491df87ad6241952125be111d475c9afe1 (diff)
downloadofono-f7f3b754adfd4502a7177a7781f7502dbc4de471.tar.gz
voicecall: Quectel modem do not understand AT+CNAP
Diffstat (limited to 'drivers')
-rw-r--r--drivers/atmodem/voicecall.c4
1 files changed, 3 insertions, 1 deletions
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: