---
 drivers/calypsomodem/voicecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index 01be990..fed442c 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:
-- 
1.7.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to