summaryrefslogtreecommitdiffstats
path: root/drivers/ifxmodem/voicecall.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-02-07 13:07:35 -0800
committerDenis Kenzior <denkenz@gmail.com>2011-02-07 15:40:53 -0600
commit2037f5515c2507d433f40d2755bab60d712a7570 (patch)
tree1e2a6ec309951a98a6aa072ca6f4ecc3e121a7a2 /drivers/ifxmodem/voicecall.c
parent9ab47bbcfc81b56385b7ca07276f7365d91d1df3 (diff)
downloadofono-2037f5515c2507d433f40d2755bab60d712a7570.tar.bz2
ifxmodem: fix issue with gatchat usage
Diffstat (limited to 'drivers/ifxmodem/voicecall.c')
-rw-r--r--drivers/ifxmodem/voicecall.c4
1 files changed, 2 insertions, 2 deletions
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);