aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-06-19 11:55:10 +0200
committerDan Williams <dcbw@redhat.com>2018-08-21 13:26:08 +0000
commitc0cc694c67d9e71f200fb23e20473cc9b31d9ec0 (patch)
treed4cd449bebd292f3aa59c4684f218e182468dc4c /src/mm-port-probe.c
parentf6a2d01c7ee99204644db030a09fbd71566b7af7 (diff)
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.
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r--src/mm-port-probe.c3
1 files changed, 3 insertions, 0 deletions
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);