diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-05-14 16:28:17 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2010-05-14 16:54:11 +0300 |
commit | 6207f5bfcebd0ff25623e87226b753d896850aff (patch) | |
tree | d444b0559ce8552fcd028c82fec41e7d7df65028 | |
parent | bca2cdffbcf1c05f6bf98eff8b55c889a7ba44f1 (diff) | |
download | ofono-6207f5bfcebd0ff25623e87226b753d896850aff.tar.bz2 |
Fix CBS routing request failure reporting
-rw-r--r-- | drivers/isimodem/cbs.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/isimodem/cbs.c b/drivers/isimodem/cbs.c index cef99991..a4ee764c 100644 --- a/drivers/isimodem/cbs.c +++ b/drivers/isimodem/cbs.c @@ -90,11 +90,14 @@ static bool routing_resp_cb(GIsiClient *client, const void *restrict data, return false; if (msg[1] != SMS_OK) { - DBG("Request failed: 0x%02X (%s).\n\n Unable to bootstrap CBS" - " routing.\n It appears some other component is" - " already\n registered as the CBS routing endpoint.\n " - " As a consequence, receiving CBSs is NOT going" - " to work.\n\n", msg[1], sms_isi_cause_name(msg[1])); + if (msg[1] == SMS_ERR_PP_RESERVED) + DBG("Request failed: 0x%02"PRIx8" (%s).\n\n " + "Unable to bootstrap CBS routing.\n " + "It appears some other component is " + "already\n registered as the CBS " + "routing endpoint.\n As a consequence, " + "receiving CBSs is NOT going to work.\n\n", + msg[1], sms_isi_cause_name(msg[1])); return true; } |