diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c index b5496871..460e34e5 100644 --- a/drivers/isimodem/voicecall.c +++ b/drivers/isimodem/voicecall.c @@ -1507,13 +1507,10 @@ static void isi_answer(struct ofono_voicecall *ovc, ofono_voicecall_cb_t cb, struct isi_voicecall *ivc = ofono_voicecall_get_data(ovc); int id; - for (id = 1; id <= 7; id++) { - + for (id = 1; id <= 7; id++) if (ivc->calls[id].status == CALL_STATUS_MT_ALERTING) goto answer_by_id; - } - id = CALL_ID_ALL; answer_by_id: