summaryrefslogtreecommitdiff
path: root/drivers/calypsomodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-12 19:16:01 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-12 19:16:32 -0600
commit72e0d2c578fb450acc08c51f2b075fbcac46f626 (patch)
tree9181504c22fa906cddef6b291b98613164ba5572 /drivers/calypsomodem
parent9a703cd378f35b6efe2f9afe1f7095d6297fbe1c (diff)
Fix: On calypso use proprietory %CHLD=7X command
Diffstat (limited to 'drivers/calypsomodem')
-rw-r--r--drivers/calypsomodem/voicecall.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index abfa021b..756d6fee 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -156,7 +156,10 @@ static void calypso_release_specific(struct ofono_voicecall *vc, int id,
{
char buf[32];
- sprintf(buf, "AT+CHLD=1%d", id);
+ /* On calypso, 1X only releases active calls, while 7X releases
+ * active or held calls
+ */
+ sprintf(buf, "AT%CHLD=7%d", id);
calypso_template(vc, buf, cb, data);
}