diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-24 00:07:23 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-24 00:08:30 -0500 |
commit | 44f31d7e91526cd8e7237b60afe8f04b5fa5e7e7 (patch) | |
tree | 394b7766d55d14481415f9419ff5297ebec34cc4 | |
parent | 26d6de7f53d44d487cd86d0a252d1e563b2e363a (diff) | |
download | ofono-44f31d7e91526cd8e7237b60afe8f04b5fa5e7e7.tar.bz2 |
ifx: xcallstat should notify active->held
-rw-r--r-- | drivers/ifxmodem/voicecall.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index c09de75c..45460a15 100644 --- a/drivers/ifxmodem/voicecall.c +++ b/drivers/ifxmodem/voicecall.c @@ -332,24 +332,12 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) int validity = 2; struct ofono_error error; struct ofono_call *call; - GSList *l; decode_at_error(&error, g_at_result_final_response(result)); if (!ok) goto out; - /* On a success, make sure to put all active calls on hold */ - for (l = vd->calls; l; l = l->next) { - call = l->data; - - if (call->status != 0) - continue; - - call->status = 1; - ofono_voicecall_notify(vc, call); - } - g_at_result_iter_init(&iter, result); if (g_at_result_iter_next(&iter, "+COLP:")) { |