plugin: probe QRTR ports for QMI support

This commit is contained in:
Andrew Lassalle
2021-04-14 11:27:27 +02:00
committed by Aleksander Morgado
parent f82f50fb13
commit c2114e50d5
+6
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) {