From 885b9613e49c5e841164d08f1bcbf60ac2f26e35 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Fri, 19 Aug 2011 11:11:58 -0300 Subject: [PATCH] Change default Link Loss alert level to high After creating a Proximity device, Link Loss alert level is always written. Setting the default value to "high" enables alert without requiring an application to change it later. --- proximity/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proximity/monitor.c b/proximity/monitor.c index 55d3985f9..252645f8f 100644 --- a/proximity/monitor.c +++ b/proximity/monitor.c @@ -571,7 +571,7 @@ int monitor_register(DBusConnection *conn, struct btd_device *device, monitor = g_new0(struct monitor, 1); monitor->device = btd_device_ref(device); monitor->conn = dbus_connection_ref(conn); - monitor->linklosslevel = (level ? : g_strdup("none")); + monitor->linklosslevel = (level ? : g_strdup("high")); monitor->signallevel = g_strdup("unknown"); monitor->immediatelevel = g_strdup("none"); -- 2.47.3