huawei: if port replies to AT^GETPORTMODE, port is AT

Just skips the additional check for AT support in the port.
This commit is contained in:
Aleksander Morgado
2012-09-19 10:37:31 +02:00
parent c4b5293669
commit 6995300ecd
+3
View File
@@ -153,6 +153,9 @@ getportmode_ready (MMAtSerialPort *port,
cache_port_mode (device, response->str, "MDM:", TAG_HUAWEI_MODEM_PORT);
cache_port_mode (device, response->str, "DIAG:", TAG_HUAWEI_DIAG_PORT);
g_object_set_data (G_OBJECT (device), TAG_GETPORTMODE_SUPPORTED, GUINT_TO_POINTER (TRUE));
/* Mark port as being AT already */
mm_port_probe_set_result_at (ctx->probe, TRUE);
}
ctx->getportmode_done = TRUE;