diff options
author | Philippe Nunes <philippe.nunes@linux.intel.com> | 2012-05-30 15:53:10 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-05-30 09:05:57 -0500 |
commit | 308e99dc196bd2bdc40389e00c8e77c26c545a17 (patch) | |
tree | 41eee23c7413be5e37832df9979dca41846252f5 | |
parent | c935817653fddbc0be6d87005d1fe92eb67d3142 (diff) | |
download | ofono-308e99dc196bd2bdc40389e00c8e77c26c545a17.tar.bz2 |
call-forwarding: Return specific errors for SS
-rw-r--r-- | src/call-forwarding.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/call-forwarding.c b/src/call-forwarding.c index 3d9c5c13..5acbd67e 100644 --- a/src/call-forwarding.c +++ b/src/call-forwarding.c @@ -1020,10 +1020,11 @@ static void cf_ss_control_callback(const struct ofono_error *error, void *data) struct ofono_call_forwarding *cf = data; if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { - DBG("Error occurred during cf ss control set/erasure"); + DBG("CF ss control set/erasure failed with error: %s", + telephony_error_to_str(error)); __ofono_dbus_pending_reply(&cf->pending, - __ofono_error_failed(cf->pending)); + __ofono_error_from_error(error, cf->pending)); g_free(cf->ss_req); cf->ss_req = NULL; return; |