diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-13 16:47:06 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:25 +0100 |
commit | d2559e2716c43f52701144ee25c14d87786b5a11 (patch) | |
tree | 9b376fecbd9158a8a451bb678810c05ea256f0b5 /src | |
parent | c52762ea6763b93772f13ad0fd2c89fb6d201018 (diff) |
plugin-base: only cancel AT probing in probes of the same device
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-plugin-base.c | 7 |
1 files changed, 5 insertions, 2 deletions
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)) { |