summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-12-16 18:33:19 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-12-16 18:40:19 -0600
commitb68fb125b80b98142245b1f5a2db0882a1667cfa (patch)
treee8bed7fa1315a5e48dccd1f002a1339f464d201d
parent3254e5e99f522790cb40b40f12af1d76959df5b1 (diff)
downloadofono-b68fb125b80b98142245b1f5a2db0882a1667cfa.tar.bz2
atmodem: Always poll clcc, even if cring + clip
Even in the case of CRING and CLIP being used, we should start a CLCC poll. This is because we must still rely on polling CLCC to detect when an incoming call has been terminated by the remote side.
-rw-r--r--drivers/atmodem/voicecall.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c
index 4c9fc262..75e0c939 100644
--- a/drivers/atmodem/voicecall.c
+++ b/drivers/atmodem/voicecall.c
@@ -769,14 +769,6 @@ static void clip_notify(GAtResult *result, gpointer user_data)
ofono_voicecall_notify(vc, call);
vd->flags &= ~FLAG_NEED_CLIP;
-
- /* We started a CLCC, but the CLIP arrived and the call type
- * is known. If we don't need to poll, cancel the GSource
- */
- if (call->type != 9 && vd->clcc_source) {
- g_source_remove(vd->clcc_source);
- vd->clcc_source = 0;
- }
}
static void cnap_notify(GAtResult *result, gpointer user_data)