aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-plugin-anydata.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-anydata.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-anydata.c')
-rw-r--r--plugins/mm-plugin-anydata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-plugin-anydata.c b/plugins/mm-plugin-anydata.c
index 76df6734..d4c7e6df 100644
--- a/plugins/mm-plugin-anydata.c
+++ b/plugins/mm-plugin-anydata.c
@@ -94,7 +94,7 @@ supports_port (MMPluginBase *base,
}
/* Otherwise kick off a probe */
- 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;