cli: print Rm protocol in bearer info
This commit is contained in:
@@ -774,6 +774,19 @@ mmcli_get_3gpp_registration_state_string (MMModem3gppRegistrationState state)
|
||||
return value->value_nick;
|
||||
}
|
||||
|
||||
const gchar *
|
||||
mmcli_get_cdma_rm_protocol_string (MMModemCdmaRmProtocol protocol)
|
||||
{
|
||||
static GEnumClass *enum_class = NULL;
|
||||
GEnumValue *value;
|
||||
|
||||
if (!enum_class)
|
||||
enum_class = G_ENUM_CLASS (g_type_class_ref (MM_TYPE_MODEM_CDMA_RM_PROTOCOL));
|
||||
|
||||
value = g_enum_get_value (enum_class, protocol);
|
||||
return value->value_nick;
|
||||
}
|
||||
|
||||
/* Common options */
|
||||
static gchar *modem_str;
|
||||
static gchar *bearer_str;
|
||||
|
Reference in New Issue
Block a user