From 28c1acf2e134a395dfda28860db37e4bf9650e16 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 28 Aug 2018 09:25:25 +0200 Subject: port-probe: fix build when QMI over MBIM is unsupported --- src/mm-port-probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3-70-g09d2