From 97ce69fe97ca1a8e6c9c47efac41770c28e2f397 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 30 Jan 2024 15:43:58 +0000 Subject: broadband-modem-mbim: fix processing IP type from MbimProvisionedContextElementV2 --- src/mm-broadband-modem-mbim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index 7cee51f1..50edbf83 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -7574,6 +7574,7 @@ provisioned_context_element_v2_to_3gpp_profile (MMBroadbandModemMbim mm_3gpp_profile_set_user (profile, element->user_name); mm_3gpp_profile_set_password (profile, element->password); mm_3gpp_profile_set_allowed_auth (profile, (mm_bearer_allowed_auth_from_mbim_auth_protocol (element->auth_protocol))); + mm_3gpp_profile_set_ip_type (profile, mm_bearer_ip_family_from_mbim_context_ip_type (element->ip_type)); if (!mm_boolean_from_mbim_context_state (element->state, &enabled, &error)) { mm_obj_dbg (self, "ignoring enable setting: %s", error->message); @@ -7601,7 +7602,7 @@ provisioned_context_element_v2_to_3gpp_profile (MMBroadbandModemMbim } else mm_3gpp_profile_set_profile_source (profile, profile_source); - /* compression unused, and ip-type not provided */ + /* compression unused */ return profile; } -- cgit v1.2.3-70-g09d2