mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 21:05:29 +00:00
thunderbolt: Fix a typo in the USB4 port online
This commit is contained in:
parent
e3b62e643b
commit
045bc383a6
@ -151,7 +151,7 @@ fu_thunderbolt_controller_can_update(FuThunderboltController *self)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
fu_thunderbolt_controller_set_port_offline_cb(gpointer user_data)
|
||||
fu_thunderbolt_controller_set_port_online_cb(gpointer user_data)
|
||||
{
|
||||
FuThunderboltController *self = FU_THUNDERBOLT_CONTROLLER(user_data);
|
||||
g_autoptr(GError) error_local = NULL;
|
||||
@ -170,7 +170,7 @@ fu_thunderbolt_controller_setup_usb4(FuThunderboltController *self, GError **err
|
||||
if (!fu_thunderbolt_udev_set_port_offline(FU_UDEV_DEVICE(self), error))
|
||||
return FALSE;
|
||||
self->host_online_timer_id =
|
||||
g_timeout_add_seconds(5, fu_thunderbolt_controller_set_port_offline_cb, self);
|
||||
g_timeout_add_seconds(5, fu_thunderbolt_controller_set_port_online_cb, self);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user