diff options
author | Dan Williams <dcbw@redhat.com> | 2012-11-26 16:17:07 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-11-27 09:56:25 -0600 |
commit | 6106d1d6a2b05a031c54c75861363b199136e417 (patch) | |
tree | 49970dc76b4126cba2df814cddbd88e0ca9f3bf9 /src/mm-port-probe-at.c | |
parent | 3e39144100315c5be83396d5ef2433be4b7ae203 (diff) |
port-probe: fix checking of Icera capability on some devices
Sierra devices often have limited AT parsers on their APP ports
which reply with OK to any command they don't understand, and
thus we need to actually check for a valid IPSYS reply instead of
just checking whether the IPSYS request completed without error.
Previously MM would detect Icera capability on devices that
didn't actually have it.
Diffstat (limited to 'src/mm-port-probe-at.c')
-rw-r--r-- | src/mm-port-probe-at.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mm-port-probe-at.c b/src/mm-port-probe-at.c index fb20a74d..d7e6fefe 100644 --- a/src/mm-port-probe-at.c +++ b/src/mm-port-probe-at.c @@ -92,21 +92,3 @@ mm_port_probe_response_processor_string (const gchar *command, return TRUE; } -/* ---- Other ---- */ - -gboolean -mm_port_probe_response_processor_no_error (const gchar *command, - const gchar *response, - gboolean last_command, - const GError *error, - GVariant **result, - GError **result_error) -{ - if (error) { - *result = g_variant_new_boolean (FALSE); - return TRUE; - } - - *result = g_variant_new_boolean (TRUE); - return TRUE; -} |