From c0cc694c67d9e71f200fb23e20473cc9b31d9ec0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 19 Jun 2018 11:55:10 +0200 Subject: port-mbim: automatically try to open a QMI over MBIM device Most Qualcomm-based MBIM devices also support QMI over MBIM. We will try to check in runtime whether the MBIM device supports QMI over MBIM, and if so, setup a QmiDevice within the MMPortMbim. --- src/mm-port-probe.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mm-port-probe.c') diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 1739318a..20c981f2 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -557,6 +557,9 @@ wdm_probe_mbim (MMPortProbe *self) /* Create a port and try to open it */ ctx->mbim_port = mm_port_mbim_new (mm_kernel_device_get_name (self->priv->port)); mm_port_mbim_open (ctx->mbim_port, +#if WITH_QMI + FALSE, /* Don't check QMI over MBIM support at this stage */ +#endif NULL, (GAsyncReadyCallback) mbim_port_open_ready, self); -- cgit v1.2.3-70-g09d2