projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2638408
)
call-settings: Improve error reporting
author
Philippe Nunes
<philippe.nunes@linux.intel.com>
Wed, 22 Aug 2012 16:18:22 +0000
(18:18 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 22 Aug 2012 23:18:05 +0000
(18:18 -0500)
Report error based on the error reported by the driver.
src/call-settings.c
patch
|
blob
|
history
diff --git
a/src/call-settings.c
b/src/call-settings.c
index
4bfb561
..
51f96bf
100644
(file)
--- a/
src/call-settings.c
+++ b/
src/call-settings.c
@@
-726,9
+726,10
@@
static void clir_ss_query_callback(const struct ofono_error *error,
const char *value;
if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
- DBG("setting clir via SS failed");
+ DBG("clir query via SS failed with error: %s",
+ telephony_error_to_str(error));
__ofono_dbus_pending_reply(&cs->pending,
-
__ofono_error_failed(
cs->pending));
+
__ofono_error_from_error(error,
cs->pending));
return;
}