plugin: probe QRTR ports for QMI support

This commit is contained in:
Andrew Lassalle
2020-11-25 13:41:17 -08:00
committed by Aleksander Morgado
parent f82f50fb13
commit c2114e50d5

View File

@@ -787,6 +787,12 @@ mm_plugin_supports_port (MMPlugin *self,
if (self->priv->qmi)
probe_run_flags |= MM_PORT_PROBE_QMI;
}
#if defined WITH_QRTR
else if (g_str_equal (mm_kernel_device_get_subsystem (port), "qrtr")) {
if (self->priv->qmi)
probe_run_flags |= MM_PORT_PROBE_QMI;
}
#endif
/* For potential AT ports, check for more things */
if (probe_run_flags & MM_PORT_PROBE_AT) {