bearer-mbim: don't enable multiplexing by default

The next 1.18 release will have multiplexing support, but not enabled
by default, to avoid breaking setups that don't expect the new virtual
net interfaces for the multiplexed sessions.
This commit is contained in:
Aleksander Morgado
2021-08-09 12:22:26 +00:00
parent 168ec6ba09
commit 0628514239
+2 -2
View File
@@ -1179,10 +1179,10 @@ load_settings_from_bearer (MMBearerMbim *self,
if (mm_kernel_device_get_wwandev_sysfs_path (mm_port_peek_kernel_device (ctx->data)))
multiplex_supported = FALSE;
/* If no multiplex setting given by the user, assume requested */
/* If no multiplex setting given by the user, assume none */
multiplex = mm_bearer_properties_get_multiplex (properties);
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN)
multiplex = MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED;
multiplex = MM_BEARER_MULTIPLEX_SUPPORT_NONE;
if (multiplex_supported &&
(multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED ||