aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-28 09:25:25 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-08-28 09:25:37 +0200
commit28c1acf2e134a395dfda28860db37e4bf9650e16 (patch)
tree0aa3cfd328cbbae6f32faec4217a590c9fe28d20 /src/mm-port-probe.c
parentf24d8279bcfac4f9945c2e47bf60e6dfc5a686f5 (diff)
port-probe: fix build when QMI over MBIM is unsupported
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r--src/mm-port-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c
index e89ecafa..329e35cb 100644
--- a/src/mm-port-probe.c
+++ b/src/mm-port-probe.c
@@ -584,7 +584,7 @@ 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 defined WITH_QMI
+#if defined WITH_QMI && QMI_MBIM_QMUX_SUPPORTED
FALSE, /* Don't check QMI over MBIM support at this stage */
#endif
NULL,