From 2b147f90332c92f5ed646a1728d32687f6e75f9f Mon Sep 17 00:00:00 2001 From: rpm-build Date: Aug 25 2020 07:29:46 +0000 Subject: 0001-hostname-Fix-BlueZ-5.XX-adapter-name-on-startup.patch patch_name: 0001-hostname-Fix-BlueZ-5.XX-adapter-name-on-startup.patch present_in_specfile: true location_in_specfile: 2 --- diff --git a/plugins/hostname.c b/plugins/hostname.c index 4f9dfe6..1df1b4b 100644 --- a/plugins/hostname.c +++ b/plugins/hostname.c @@ -301,6 +301,10 @@ static int hostname_init(void) hostname_proxy = NULL; g_dbus_client_unref(hostname_client); hostname_client = NULL; + } else { + g_dbus_proxy_refresh_property(hostname_proxy, "PrettyHostname"); + g_dbus_proxy_refresh_property(hostname_proxy, "StaticHostname"); + g_dbus_proxy_refresh_property(hostname_proxy, "Chassis"); } return err;