From d2559e2716c43f52701144ee25c14d87786b5a11 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 13 Mar 2012 16:47:06 +0100 Subject: plugin-base: only cancel AT probing in probes of the same device --- src/mm-plugin-base.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index fc3c3888..d7e49203 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -486,7 +486,9 @@ cancel_at_probing_in_other_probes (const gchar *key, MMPortProbe *other, MMPortProbe *self) { - if (self != other) + if (self != other && + g_str_equal (mm_port_probe_get_port_physdev (self), + mm_port_probe_get_port_physdev (other))) mm_port_probe_run_cancel_at_probing (other); } @@ -514,7 +516,8 @@ port_probe_run_ready (MMPortProbe *probe, /* If we were looking for AT ports, and the port is AT, * and we were told that only one AT port is expected, cancel AT - * probings in the other available support tasks. */ + * probings in the other available support tasks of the SAME + * device. */ if (priv->single_at && ctx->flags & MM_PORT_PROBE_AT && mm_port_probe_is_at (probe)) { -- cgit v1.2.3-70-g09d2