aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-02-22 08:58:36 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-02-22 16:35:56 +0100
commit75d20c15d4f844270cfc6c31fae261412e4b1b59 (patch)
tree1a99f7713ae4d5cd1303d94da8744cdfc5b71fa9 /cli/mmcli-common.c
parenta18140e8ed86e6881d1b5f4bcf33620ff791f35e (diff)
api: notify in the interface about the reason why the modem is FAILED
We currently implement 'SIM missing' and 'SIM error', which are probably the most common ones.
Diffstat (limited to 'cli/mmcli-common.c')
-rw-r--r--cli/mmcli-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
index 57651725..b7d6fe66 100644
--- a/cli/mmcli-common.c
+++ b/cli/mmcli-common.c
@@ -1063,6 +1063,8 @@ mmcli_get_state_reason_string (MMModemStateChangeReason reason)
return "User request";
case MM_MODEM_STATE_CHANGE_REASON_SUSPEND:
return "Suspend";
+ case MM_MODEM_STATE_CHANGE_REASON_FAILURE:
+ return "Failure";
}
g_warn_if_reached ();