iridium: ensure cached capabilities get checked

This commit is contained in:
Aleksander Morgado
2011-12-28 09:14:56 +01:00
parent fc88c53fad
commit 5371cce11d

View File

@@ -158,6 +158,7 @@ supports_port (MMPluginBase *base,
return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED; return MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED;
/* Completed! */ /* Completed! */
cached = mm_plugin_base_supports_task_get_probed_capabilities (task);
mm_plugin_base_supports_task_complete (task, get_level_for_capabilities (cached)); mm_plugin_base_supports_task_complete (task, get_level_for_capabilities (cached));
return MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS; return MM_PLUGIN_SUPPORTS_PORT_IN_PROGRESS;
} }