From 045bc383a63f80a645be5a6db81b539d5c37df7d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 14 Jan 2022 16:39:19 +0000 Subject: [PATCH] thunderbolt: Fix a typo in the USB4 port online --- plugins/thunderbolt/fu-thunderbolt-controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/thunderbolt/fu-thunderbolt-controller.c b/plugins/thunderbolt/fu-thunderbolt-controller.c index c78ff43d4..cb4edab4c 100644 --- a/plugins/thunderbolt/fu-thunderbolt-controller.c +++ b/plugins/thunderbolt/fu-thunderbolt-controller.c @@ -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; }