diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2024-01-30 15:43:58 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2024-02-01 14:59:55 +0000 |
commit | 97ce69fe97ca1a8e6c9c47efac41770c28e2f397 (patch) | |
tree | 5ce4d55b2e6b159ac2cf6ea3beba61a5bfc3d881 /src/mm-broadband-modem-mbim.c | |
parent | a729a92e1035dcdd13b46331c773f7b06c5b1b18 (diff) |
broadband-modem-mbim: fix processing IP type from MbimProvisionedContextElementV2
Diffstat (limited to 'src/mm-broadband-modem-mbim.c')
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |