From 168ec6ba096809ceae8d7b58e875aeba88eb5d1e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 28 Jul 2021 23:46:33 +0200 Subject: [PATCH] broadband-bearer: default to 'none' if no multiplexing config provided --- src/mm-broadband-bearer.c | 5 +++-- 1 file 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) {