diff options
Diffstat (limited to 'plugins/mm-plugin-cinterion.c')
-rw-r--r-- | plugins/mm-plugin-cinterion.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mm-plugin-cinterion.c b/plugins/mm-plugin-cinterion.c index 60e784b0..9992350f 100644 --- a/plugins/mm-plugin-cinterion.c +++ b/plugins/mm-plugin-cinterion.c @@ -126,8 +126,12 @@ supports_port (MMPluginBase *base, /* First thing to check in this plugin is if we got capabilities already. * This is because we have a later check of the probed vendor, which is - * taken also during port probing. */ - if (!mm_plugin_base_get_cached_port_capabilities (base, port, &cached)) { + * taken also during port probing. + * Note that we also relaunch a port probe if we got a cached value but no + * capabilities set (used when trying to detect RS232 modems during + * re-scans). */ + if (!mm_plugin_base_get_cached_port_capabilities (base, port, &cached) || + !cached) { /* Kick off a probe */ if (mm_plugin_base_probe_port (base, task, 100000, NULL)) return MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS; |