aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-broadband-modem-mbim.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 37669c81..91931914 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -7692,7 +7692,10 @@ modem_3gpp_profile_manager_list_profiles (MMIfaceModem3gppProfileManager *_self
mm_obj_dbg (self, "querying provisioned contexts...");
- if (self->priv->is_profile_management_ext_supported) {
+ /* We will use the MBIMEx operation not only when testing with MBIMEx profile management
+ * support, but also any time the command is supported by the modem, because it gives much
+ * more information than the default one. */
+ if (self->priv->is_context_type_ext_supported) {
message = mbim_message_ms_basic_connect_extensions_provisioned_contexts_query_new (NULL);
mbim_device_command (device,
message,