From ed5aefb3cb1d7db3a0b19678d4568d813719eb01 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 8 Apr 2011 16:19:36 -0500 Subject: 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. --- plugins/mm-plugin-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mm-plugin-generic.c') diff --git a/plugins/mm-plugin-generic.c b/plugins/mm-plugin-generic.c index a27704b4..89912c2b 100644 --- a/plugins/mm-plugin-generic.c +++ b/plugins/mm-plugin-generic.c @@ -97,7 +97,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; -- cgit v1.2.3-70-g09d2