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>
This commit is contained in:
Loic Poulain
2021-07-26 16:10:25 +02:00
committed by Aleksander Morgado
parent 2f38ea0155
commit 064624c69d

View File

@@ -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)