diff options
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r-- | src/mm-port-probe.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 99306970..6572707a 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -1181,6 +1181,19 @@ mm_port_probe_is_qmi (MMPortProbe *self) return self->priv->is_qmi; } +gboolean +mm_port_probe_list_has_qmi_port (GList *list) +{ + GList *l; + + for (l = list; l; l = g_list_next (l)) { + if (mm_port_probe_is_qmi (MM_PORT_PROBE (l->data))) + return TRUE; + } + + return FALSE; +} + MMPortType mm_port_probe_get_port_type (MMPortProbe *self) { |