diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-03 12:28:16 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-04 19:26:51 +0200 |
commit | 069a17afd3c0ae007168987836ddaf9dfa63c3e0 (patch) | |
tree | 21e5cdccd69432a36fa9a055de15e292921cbfff | |
parent | f24fc68e04fbe225de162f57e3cbd254f8f03df4 (diff) |
port-probe: remove no longer needed filter
Remove the additional check for AT responses done *after* having parsed the
response. This check only worked whenever the response string ended up matching
one of the regular expressions in the parser, which of course wasn't always.
-rw-r--r-- | src/mm-port-probe.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 33f0be86..6435657f 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -716,16 +716,6 @@ serial_probe_at_parse_response (MMAtSerialPort *port, return; } - /* Early-abort AT probing if we get a response that indicates this is - * certainly not an AT-capable port. - */ - if (response && is_non_at_response ((const guint8 *) response->str, response->len)) { - task->at_result_processor (self, NULL); - mm_port_probe_set_result_at (self, FALSE); - serial_probe_schedule (self); - return; - } - if (!task->at_commands->response_processor (task->at_commands->command, response ? response->str : NULL, !!task->at_commands[1].command, |