summaryrefslogtreecommitdiff
path: root/drivers/calypsomodem/voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/calypsomodem/voicecall.c')
-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);
}