aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-mbim.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-07-26 16:10:25 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-07-26 20:43:24 +0000
commit064624c69dd25a888996dfc40f16f823daf5ba16 (patch)
tree7f41a7e93a3c7a3bf3e64cad103c3993712c9421 /src/mm-bearer-mbim.c
parent2f38ea0155d7e9dde8b7ed7f04a89e5945c4fca6 (diff)
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 <loic.poulain@linaro.org>
Diffstat (limited to 'src/mm-bearer-mbim.c')
-rw-r--r--src/mm-bearer-mbim.c3
1 files changed, 3 insertions, 0 deletions
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)