From 069a17afd3c0ae007168987836ddaf9dfa63c3e0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 3 Apr 2013 12:28:16 +0200 Subject: [PATCH] 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. --- src/mm-port-probe.c | 10 ---------- 1 file changed, 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,