--- src/voicecall.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/voicecall.c b/src/voicecall.c index 826e10c..e3b1135 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2172,6 +2172,19 @@ check: set_new_ecc(vc); } +void ofono_voicecall_en_list_notify(struct ofono_voicecall *vc, + GSList *new_en_list) +{ + GSList *l; + + for (l = new_en_list; l; l = l->next) + vc->new_en_list = g_slist_prepend(vc->new_en_list, + g_strdup(l->data)); + + vc->new_en_list = g_slist_reverse(vc->new_en_list); + set_new_ecc(vc); +} + int ofono_voicecall_driver_register(const struct ofono_voicecall_driver *d) { DBG("driver: %p, name: %s", d, d->name); -- 1.7.0.4 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono