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.
This commit is contained in:
Denis Kenzior 2010-12-16 18:33:19 -06:00
parent 3254e5e99f
commit b68fb125b8
1 changed files with 0 additions and 8 deletions

View File

@ -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)