diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2010-11-24 01:57:33 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-24 15:54:46 -0600 |
commit | 175ac85942cc7063b88bc5980bfd554d7b68004b (patch) | |
tree | 13a9fc58cfcdf5bd16e3883d551a37d797331812 /src | |
parent | c5c2da0d193cd2cfd69a3680809d9f86d43857e1 (diff) | |
download | ofono-175ac85942cc7063b88bc5980bfd554d7b68004b.tar.bz2 |
call-forwarding: skip property change data and fax
Diffstat (limited to 'src')
-rw-r--r-- | src/call-forwarding.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 715ce02f..ce03c402 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -285,6 +285,13 @@ static void set_new_cond_list(struct ofono_call_forwarding *cf, for (o = old; o; o = o->next) { oc = o->data; + /* + * For now we only support Voice, although Fax & all Data + * basic services are applicable as well. + */ + if (oc->cls > BEARER_CLASS_VOICE) + continue; + snprintf(attr, sizeof(attr), "%s%s", bearer_class_to_string(oc->cls), cf_type_lut[type]); |