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 04a1bf8b..e0f3788a 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -1309,6 +1309,19 @@ mm_port_probe_is_icera (MMPortProbe *self) FALSE); } +gboolean +mm_port_probe_list_is_icera (GList *probes) +{ + GList *l; + + for (l = probes; l; l = g_list_next (l)) { + if (mm_port_probe_is_icera (MM_PORT_PROBE (l->data))) + return TRUE; + } + + return FALSE; +} + const gchar * mm_port_probe_get_port_name (MMPortProbe *self) { |