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.
This commit is contained in:
Dan Williams
2011-04-08 16:19:36 -05:00
parent 7d20acc566
commit ed5aefb3cb
19 changed files with 20 additions and 18 deletions

View File

@@ -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;