diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-21 18:40:40 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:07:27 +0200 |
commit | 509ad9420460a652f2390eebea72d4b0ed486382 (patch) | |
tree | caa4d5e6ef5a0fc1f9f4611589e98c6d00aa0672 /src/mm-plugin.c | |
parent | edc9825788bc12d03add9b6fdf83ae2f55886c34 (diff) |
plugin: check if the current probe is the one with AT support before assuming it's not
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 0d7b4fc0..114c5c80 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -573,7 +573,8 @@ mm_plugin_supports_port (MMPlugin *self, * expected, check if we alredy got the single AT port. And if so, we know this * port being probed won't be AT. */ if (self->priv->single_at && - mm_port_probe_list_has_at_port (mm_device_peek_port_probe_list (device))) { + mm_port_probe_list_has_at_port (mm_device_peek_port_probe_list (device)) && + !mm_port_probe_is_at (probe)) { mm_dbg ("(%s) not setting up AT probing tasks for (%s,%s): " "modem already has the expected single AT port", self->priv->name, |