aboutsummaryrefslogtreecommitdiff
path: root/src/mm-broadband-bearer.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-12-13 14:08:43 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-26 10:12:11 +0100
commit853aa29be80ee397f64d18c4d9cce64be35aec14 (patch)
treecca7f1a813e979b42e8ecacd156102e8e751ef20 /src/mm-broadband-bearer.c
parent0d0ad722d9da2039ad71ece9c8ae4b1786c7f757 (diff)
iface-modem-3gpp-profile-manager: support 'apn-type' as index field
The modem may report the 'apn-type' field is the one to be used as index; if that's the case, allow setting and deleting profiles based on the given 'apn-type' field. This change also makes the internal profile management operations use one index field or another, based on what the protocol implements.
Diffstat (limited to 'src/mm-broadband-bearer.c')
-rw-r--r--src/mm-broadband-bearer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index 1ae07dcf..ffb5d6e8 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -660,6 +660,7 @@ select_profile_3gpp (MMBroadbandBearer *self,
mm_iface_modem_3gpp_profile_manager_set_profile (
MM_IFACE_MODEM_3GPP_PROFILE_MANAGER (modem),
mm_bearer_properties_peek_3gpp_profile (bearer_properties),
+ "profile-id",
FALSE, /* not strict! */
(GAsyncReadyCallback)select_profile_3gpp_set_profile_ready,
task);