Trace is modified as a CF query is not necessarily done after a CF setting via SS. --- src/call-forwarding.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 5acbd67..91e34c6 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -981,9 +981,10 @@ static void ss_set_query_cf_callback(const struct ofono_error *error, int total, DBusMessage *reply; if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { - ofono_error("Setting succeeded, but query failed"); + ofono_error("Query failed with error: %s", + telephony_error_to_str(error)); cf->flags &= ~CALL_FORWARDING_FLAG_CACHED; - reply = __ofono_error_failed(cf->pending); + reply = __ofono_error_from_error(error, cf->pending); __ofono_dbus_pending_reply(&cf->pending, reply); return; } -- 1.7.9.5 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono