aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem.c
diff options
context:
space:
mode:
authorThieu Le <thieule@chromium.org>2013-10-07 13:57:27 -0700
committerAleksander Morgado <aleksander@lanedo.com>2013-10-09 09:59:42 +0200
commitf9a4f87d5204432b52cb41b31809d43425467da5 (patch)
treeb8ae31d2b84d80e376e80942ae7ca7f116dccece /cli/mmcli-modem.c
parent564b3610fd6e4060bc36c2cf568b2305aaf6ea19 (diff)
iface-modem-3gpp: add SubscriptionState property
Diffstat (limited to 'cli/mmcli-modem.c')
-rw-r--r--cli/mmcli-modem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c
index 18e7356f..dbec796f 100644
--- a/cli/mmcli-modem.c
+++ b/cli/mmcli-modem.c
@@ -441,11 +441,14 @@ print_modem_info (void)
" | enabled locks: '%s'\n"
" | operator id: '%s'\n"
" | operator name: '%s'\n"
+ " | subscription: '%s'\n"
" | registration: '%s'\n",
VALIDATE_UNKNOWN (mm_modem_3gpp_get_imei (ctx->modem_3gpp)),
facility_locks,
VALIDATE_UNKNOWN (mm_modem_3gpp_get_operator_code (ctx->modem_3gpp)),
VALIDATE_UNKNOWN (mm_modem_3gpp_get_operator_name (ctx->modem_3gpp)),
+ mm_modem_3gpp_subscription_state_get_string (
+ mm_modem_3gpp_get_subscription_state ((ctx->modem_3gpp))),
mm_modem_3gpp_registration_state_get_string (
mm_modem_3gpp_get_registration_state ((ctx->modem_3gpp))));