aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-mbim.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-07-28 23:42:56 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-08-09 12:22:26 +0000
commit8d019a399ca8dd29f959477e2be36b252497a90b (patch)
treed587b9162b0885b7ff5b8e681c1b0b6c72f4720f /src/mm-bearer-mbim.c
parent4a07ab39f14d3879c9168e5d7da3b8a0a32bfb61 (diff)
base-bearer: remove default multiplex support symbol
Using "requested" as a common default for every possible implementation works, because it can handle setups without multiplexing capabilities (e.g. plain AT+PPP modems) and also setups without non-multiplexing capabilities (e.g. IPA based SoCs). But if we don't want "requested" as default, then there will be failing cases; e.g. we cannot use "none" as default for all as it would break IPA, and we cannot use "required" as default for all as it would break AT+PPP setups. So, remove the common default, it's not flexible enough.
Diffstat (limited to 'src/mm-bearer-mbim.c')
-rw-r--r--src/mm-bearer-mbim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
index d3e3a2d7..dbdd0850 100644
--- a/src/mm-bearer-mbim.c
+++ b/src/mm-bearer-mbim.c
@@ -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 default */
+ /* If no multiplex setting given by the user, assume requested */
multiplex = mm_bearer_properties_get_multiplex (properties);
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN)
- multiplex = MM_BASE_BEARER_MULTIPLEX_SUPPORT_DEFAULT;
+ multiplex = MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED;
if (multiplex_supported &&
(multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED ||