port-probe: fix build when QMI over MBIM is unsupported

This commit is contained in:
Aleksander Morgado
2018-08-28 09:25:25 +02:00
parent f24d8279bc
commit 28c1acf2e1

View File

@@ -584,7 +584,7 @@ wdm_probe_mbim (MMPortProbe *self)
/* Create a port and try to open it */ /* Create a port and try to open it */
ctx->mbim_port = mm_port_mbim_new (mm_kernel_device_get_name (self->priv->port)); ctx->mbim_port = mm_port_mbim_new (mm_kernel_device_get_name (self->priv->port));
mm_port_mbim_open (ctx->mbim_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 */ FALSE, /* Don't check QMI over MBIM support at this stage */
#endif #endif
NULL, NULL,