From 064624c69dd25a888996dfc40f16f823daf5ba16 Mon Sep 17 00:00:00 2001 From: Loic Poulain Date: Mon, 26 Jul 2021 16:10:25 +0200 Subject: bearer-mbim: Disable multiplex support for wwan devices WWAN network devices expose link management over netlink (wwan type), but it is not yet supported by libmbim. Signed-off-by: Loic Poulain --- src/mm-bearer-mbim.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c index 16bffd87..d3e3a2d7 100644 --- a/src/mm-bearer-mbim.c +++ b/src/mm-bearer-mbim.c @@ -1176,6 +1176,9 @@ load_settings_from_bearer (MMBearerMbim *self, if (!g_strcmp0 (data_port_driver, "mhi_net")) multiplex_supported = FALSE; + 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 */ multiplex = mm_bearer_properties_get_multiplex (properties); if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN) -- cgit v1.2.3-70-g09d2