mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 02:40:34 +00:00
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.
This commit is contained in:
parent
3165e94f7d
commit
9a6692eb84
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user