summaryrefslogtreecommitdiff
path: root/drivers/calypsomodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-11-13 04:33:29 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-11-13 04:33:29 +0100
commit5fe640858ae42c24424e5a1266fdbf7dbd93cb44 (patch)
tree08e8ddf89b0804381bded1416d90f4dc02dc55b2 /drivers/calypsomodem
parent72e0d2c578fb450acc08c51f2b075fbcac46f626 (diff)
Fix issue with missing masking of AT%CHLD
drivers/calypsomodem/voicecall.c: In function ‘calypso_release_specific’: drivers/calypsomodem/voicecall.c:162: error: too few arguments for format
Diffstat (limited to 'drivers/calypsomodem')
-rw-r--r--drivers/calypsomodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index 756d6fee..6ff7de7a 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -159,7 +159,7 @@ static void calypso_release_specific(struct ofono_voicecall *vc, int id,
/* On calypso, 1X only releases active calls, while 7X releases
* active or held calls
*/
- sprintf(buf, "AT%CHLD=7%d", id);
+ sprintf(buf, "AT%%CHLD=7%d", id);
calypso_template(vc, buf, cb, data);
}