From dbf1fa43a9563e45814c819ff0ef6a292f23058f Mon Sep 17 00:00:00 2001 From: ctf Date: Thu, 31 Oct 2019 11:10:28 +0800 Subject: [PATCH 11/19] hostname: Fix unexpected name class changed issue Signed-off-by: ctf --- plugins/hostname.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/hostname.c b/plugins/hostname.c index 4f9dfe6..c885714 100644 --- a/plugins/hostname.c +++ b/plugins/hostname.c @@ -198,8 +198,8 @@ static int hostname_probe(struct btd_adapter *adapter) { DBG(""); - update_name(adapter, NULL); - update_class(adapter, NULL); + //update_name(adapter, NULL); + //update_class(adapter, NULL); return 0; } @@ -277,7 +277,7 @@ static int hostname_init(void) DBusConnection *conn = btd_get_dbus_connection(); int err; - read_dmi_fallback(); + //read_dmi_fallback(); hostname_client = g_dbus_client_new(conn, "org.freedesktop.hostname1", "/org/freedesktop/hostname1"); -- 2.20.1