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.
This commit is contained in:
Aleksander Morgado
2013-04-04 19:26:51 +02:00
parent f24fc68e04
commit 069a17afd3
-10
View File
@@ -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,