bearer-mbim: if no explicit 'multiplex' setting, treat as 'requested'

This commit is contained in:
Aleksander Morgado
2021-03-17 09:39:10 +01:00
parent 8f3df02ba1
commit 952f416577
+4 -1
View File
@@ -1202,7 +1202,10 @@ _connect (MMBaseBearer *self,
NULL);
multiplex = mm_bearer_properties_get_multiplex (ctx->properties);
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED ||
/* If no multiplex setting given by the user, assume requested */
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN ||
multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED ||
multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUIRED) {
/* the link prefix hint given must be modem-specific */
ctx->link_prefix_hint = g_strdup_printf ("mbimmux%u.", mm_base_modem_get_dbus_id (MM_BASE_MODEM (modem)));