diff options
author | Andrew Lassalle <andrewlassalle@chromium.org> | 2020-11-25 13:41:17 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-14 11:27:27 +0200 |
commit | c2114e50d570220a0d2fcf3b5b3b4695abcbadf3 (patch) | |
tree | 9beec6e643792c2feb65a5f73c2e8be6e27aabc7 | |
parent | f82f50fb13aa5d0dd85b0b06948cf1a3b1190c66 (diff) |
plugin: probe QRTR ports for QMI support
-rw-r--r-- | src/mm-plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 13b46a75..5dfb4e14 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -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) { |