diff options
-rw-r--r-- | src/mm-plugin-manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c index 3cd0e01a..bae877a6 100644 --- a/src/mm-plugin-manager.c +++ b/src/mm-plugin-manager.c @@ -280,6 +280,10 @@ suggest_port_probe_result (FindDeviceSupportContext *ctx, /* If we got a task deferred until a suggestion comes, * complete it */ if (port_probe_ctx->defer_until_suggested) { + /* Reset the defer until suggested flag; we consider this + * cancelled probe completed now. */ + port_probe_ctx->defer_until_suggested = FALSE; + if (suggested_plugin) { mm_dbg ("(Plugin Manager) (%s) [%s] deferred task completed, got suggested plugin", mm_plugin_get_name (suggested_plugin), |