plugin: probe QRTR ports for QMI support
This commit is contained in:

committed by
Aleksander Morgado

parent
f82f50fb13
commit
c2114e50d5
@@ -787,6 +787,12 @@ mm_plugin_supports_port (MMPlugin *self,
|
|||||||
if (self->priv->qmi)
|
if (self->priv->qmi)
|
||||||
probe_run_flags |= MM_PORT_PROBE_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 */
|
/* For potential AT ports, check for more things */
|
||||||
if (probe_run_flags & MM_PORT_PROBE_AT) {
|
if (probe_run_flags & MM_PORT_PROBE_AT) {
|
||||||
|
Reference in New Issue
Block a user