aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-common-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-26 12:12:46 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:03:13 +0100
commite61fd7ca589110810baec2237d052b564dfe4488 (patch)
treebea09762ba9684d57d0f471ac024b4637e03c9a0 /libmm-glib/mm-common-helpers.c
parentfc6bc84d226a3cd41c5bfd1c503ea53f7fefa596 (diff)
libmm-glib: new 'access-type-preference' in 3GPP profile and bearer properties
Diffstat (limited to 'libmm-glib/mm-common-helpers.c')
-rw-r--r--libmm-glib/mm-common-helpers.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmm-glib/mm-common-helpers.c b/libmm-glib/mm-common-helpers.c
index 1d7623f9..69838cac 100644
--- a/libmm-glib/mm-common-helpers.c
+++ b/libmm-glib/mm-common-helpers.c
@@ -706,6 +706,16 @@ mm_common_get_3gpp_drx_cycle_from_string (const gchar *str,
error);
}
+MMBearerAccessTypePreference
+mm_common_get_access_type_preference_from_string (const gchar *str,
+ GError **error)
+{
+ return _enum_from_string (MM_TYPE_BEARER_ACCESS_TYPE_PREFERENCE,
+ str,
+ MM_BEARER_ACCESS_TYPE_PREFERENCE_NONE,
+ error);
+}
+
/******************************************************************************/
/* MMModemPortInfo array management */