aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-11 10:43:05 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-17 09:39:10 +0100
commite5305498b7ddbc5e419cf51fc0c30aa6593a40d2 (patch)
tree0b356745ee60f0effb5c91447d4d8876cecd7414 /src/mm-bearer-mbim.h
parent0830f9510cd67c25de57a4ffc5086882b59b3d12 (diff)
bearer-mbim: session id 0 by default in all non-multiplexed connections
The original logic in the MBIM modem would assume that if we had more than one network interface in the same modem, we could connect multiple data interfaces, each one with a different session. That logic is actually wrong, when using the master (non-multiplexed) network interface we should always use session id 0, which is the one holding all non-VLAN-tagged traffic. So, remove the logic that automatically creates new bearers with a different session id, as that is really wrong.
Diffstat (limited to 'src/mm-bearer-mbim.h')
-rw-r--r--src/mm-bearer-mbim.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mm-bearer-mbim.h b/src/mm-bearer-mbim.h
index 0d97d8d9..3da599a6 100644
--- a/src/mm-bearer-mbim.h
+++ b/src/mm-bearer-mbim.h
@@ -53,8 +53,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerMbim, g_object_unref)
/* MBIM bearer creation implementation.
* NOTE it is *not* a broadband bearer, so not async-initable */
MMBaseBearer *mm_bearer_mbim_new (MMBroadbandModemMbim *modem,
- MMBearerProperties *config,
- guint32 session_id);
+ MMBearerProperties *config);
guint32 mm_bearer_mbim_get_session_id (MMBearerMbim *self);