From 9a6692eb84935623e784bb8220c6daccc26797c0 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Tue, 5 Jan 2021 13:17:53 -0600 Subject: [PATCH] Notify plugins of their own registrations The Thunderbolt plugin wasn't actually working properly for `DelayedActivation` because Thunderbolt devices weren't actually registered. This only affected ChromeOS. --- libfwupdplugin/fu-plugin.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libfwupdplugin/fu-plugin.c b/libfwupdplugin/fu-plugin.c index 60974869b..1cbfbec9b 100644 --- a/libfwupdplugin/fu-plugin.c +++ b/libfwupdplugin/fu-plugin.c @@ -2137,10 +2137,6 @@ fu_plugin_runner_device_register (FuPlugin *self, FuDevice *device) if (priv->module == NULL) return; - /* don't notify plugins on their own devices */ - if (g_strcmp0 (fu_device_get_plugin (device), fu_plugin_get_name (self)) == 0) - return; - /* optional */ g_module_symbol (priv->module, "fu_plugin_device_registered", (gpointer *) &func); if (func != NULL) {