summaryrefslogtreecommitdiffstats
path: root/drivers/calypsomodem
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-02-01 15:12:45 -0200
committerMarcel Holtmann <marcel@holtmann.org>2011-02-01 18:31:11 +0100
commit0470319e7259b77d552728b413f70c359909f69e (patch)
tree83243a6297fcefc55d233a040352aa49b11bed18 /drivers/calypsomodem
parent730891328c1967b3dbdbb1b9fe094c936f600d00 (diff)
downloadofono-0470319e7259b77d552728b413f70c359909f69e.tar.bz2
calypsomodem: use ofono_call initializer
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 01be9907..fed442cc 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -314,7 +314,7 @@ static void cpi_notify(GAtResult *result, gpointer user_data)
g_at_chat_send(vd->chat, "AT%N0187", none_prefix,
NULL, NULL, NULL);
- memset(&call, 0, sizeof(call));
+ ofono_call_init(&call);
switch (msgtype) {
case 0: