From 2037f5515c2507d433f40d2755bab60d712a7570 Mon Sep 17 00:00:00 2001 From: Jeevaka Badrappan Date: Mon, 7 Feb 2011 13:07:35 -0800 Subject: ifxmodem: fix issue with gatchat usage --- drivers/ifxmodem/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index f66815a6..21e19440 100644 --- a/drivers/ifxmodem/voicecall.c +++ b/drivers/ifxmodem/voicecall.c @@ -720,8 +720,8 @@ static int ifx_voicecall_probe(struct ofono_voicecall *vc, unsigned int vendor, ofono_voicecall_set_data(vc, vd); - g_at_chat_send(chat, "AT+XCALLSTAT=1", none_prefix, NULL, NULL, NULL); - g_at_chat_send(chat, "AT+XEMC=1", none_prefix, NULL, NULL, NULL); + g_at_chat_send(vd->chat, "AT+XCALLSTAT=1", none_prefix, NULL, NULL, NULL); + g_at_chat_send(vd->chat, "AT+XEMC=1", none_prefix, NULL, NULL, NULL); g_at_chat_send(vd->chat, "AT+CRC=1", none_prefix, NULL, NULL, NULL); g_at_chat_send(vd->chat, "AT+CLIP=1", none_prefix, NULL, NULL, NULL); -- cgit v1.2.3