diff options
author | Bob Ham <bob.ham@puri.sm> | 2018-05-14 14:42:28 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-05-14 11:11:14 -0500 |
commit | 1ebae47777037f1fa7370a992e50ecbf1d221d30 (patch) | |
tree | ab87d523ac136f5c74d81bdf5cc14bf4061570bb /drivers/atmodem/voicecall.c | |
parent | 19e8d21a7e3bdc4a338a36d42fa4febcb0580fe6 (diff) | |
download | ofono-1ebae47777037f1fa7370a992e50ecbf1d221d30.tar.gz |
atmodem: Don't set AT+COLP=1 on SIMCom modems
On the SIMCom SIM7100E, setting AT+COLP=1 causes there to be no
response at all from "ATD...;" commands until the call is answered.
The results in oFono stalling rather than creating a new VoiceCall
object.
We fix this by adding SIMCOM to the list of vendors for whom we set
AT+COLP=0 rather than AT+COLP=1.
Diffstat (limited to 'drivers/atmodem/voicecall.c')
-rw-r--r-- | drivers/atmodem/voicecall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index e4c59c26..aa56f1ee 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -1120,6 +1120,7 @@ static int at_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor, switch (vd->vendor) { case OFONO_VENDOR_QUALCOMM_MSM: + case OFONO_VENDOR_SIMCOM: g_at_chat_send(vd->chat, "AT+COLP=0", NULL, NULL, NULL, NULL); break; default: |