aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-plugin-zte.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-04-08 16:19:36 -0500
committerDan Williams <dcbw@redhat.com>2011-04-08 16:19:36 -0500
commited5aefb3cb1d7db3a0b19678d4568d813719eb01 (patch)
tree66c5037d8c42054f3c6f402bc45a0a0238fcaf59 /plugins/mm-plugin-zte.c
parent7d20acc5669ce9ecc0358d429c46f5928df95542 (diff)
serial: allow plugins to specify probe-time send_delay
Let modems we know don't suck use a zero send-delay at probe time, which greatly reduces time required to probe AT-compatible ports.
Diffstat (limited to 'plugins/mm-plugin-zte.c')
-rw-r--r--plugins/mm-plugin-zte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-plugin-zte.c b/plugins/mm-plugin-zte.c
index edc6dd4c..6bffa150 100644
--- a/plugins/mm-plugin-zte.c
+++ b/plugins/mm-plugin-zte.c
@@ -115,7 +115,7 @@ supports_port (MMPluginBase *base,
*/
mm_plugin_base_supports_task_set_custom_init_command (task, "ATE0+CPMS?", 3, 4, FALSE, NULL, NULL);
- if (mm_plugin_base_probe_port (base, task, NULL))
+ if (mm_plugin_base_probe_port (base, task, 100000, NULL))
return MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS;
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;