aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-19 10:37:31 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-19 10:37:31 +0200
commit6995300ecd8534e99539ca2a9974c2fb7236484f (patch)
treedc1d15f4c766c956a89d31d58f331000200a2f86
parentc4b5293669f5b956e47a8b0fbfe70d179c0ef43f (diff)
huawei: if port replies to AT^GETPORTMODE, port is AT
Just skips the additional check for AT support in the port.
-rw-r--r--plugins/huawei/mm-plugin-huawei.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/huawei/mm-plugin-huawei.c b/plugins/huawei/mm-plugin-huawei.c
index 4bcebdd4..f51a61ea 100644
--- a/plugins/huawei/mm-plugin-huawei.c
+++ b/plugins/huawei/mm-plugin-huawei.c
@@ -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;