aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-07-28 23:46:33 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-08-09 12:22:26 +0000
commit168ec6ba096809ceae8d7b58e875aeba88eb5d1e (patch)
treee5bcea46e4d15f8a7624cb3e3e475e22fb82f52d /src
parent8d019a399ca8dd29f959477e2be36b252497a90b (diff)
broadband-bearer: default to 'none' if no multiplexing config provided
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-bearer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index 109e8741..c6234c12 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -1011,10 +1011,11 @@ connect (MMBaseBearer *self,
return;
}
- /* If no multiplex setting given by the user, assume requested */
+ /* If no multiplex setting given by the user, assume none (which is the only
+ * supported mode anyway) */
multiplex = mm_bearer_properties_get_multiplex (mm_base_bearer_peek_config (MM_BASE_BEARER (self)));
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN)
- multiplex = MM_BEARER_MULTIPLEX_SUPPORT_REQUESTED;
+ multiplex = MM_BEARER_MULTIPLEX_SUPPORT_NONE;
/* The generic broadband bearer doesn't support multiplexing */
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_REQUIRED) {