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:

committed by
Aleksander Morgado

parent
2f38ea0155
commit
064624c69d
@@ -1176,6 +1176,9 @@ load_settings_from_bearer (MMBearerMbim *self,
|
|||||||
if (!g_strcmp0 (data_port_driver, "mhi_net"))
|
if (!g_strcmp0 (data_port_driver, "mhi_net"))
|
||||||
multiplex_supported = FALSE;
|
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 */
|
/* If no multiplex setting given by the user, assume default */
|
||||||
multiplex = mm_bearer_properties_get_multiplex (properties);
|
multiplex = mm_bearer_properties_get_multiplex (properties);
|
||||||
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN)
|
if (multiplex == MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN)
|
||||||
|
Reference in New Issue
Block a user