From 9925efa4feaba987dadd77011b20983ff866d984 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 8 Aug 2011 15:46:48 -0300 Subject: [PATCH] Set default value for ImmediateAlertLevel Alert Level of the Immediate Alert service is write only. "none" can be the default value since the alert/alarm is disabled at disconnection. --- proximity/monitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/proximity/monitor.c b/proximity/monitor.c index 58557e946..2133ad734 100644 --- a/proximity/monitor.c +++ b/proximity/monitor.c @@ -571,6 +571,7 @@ int monitor_register(DBusConnection *conn, struct btd_device *device, monitor->conn = dbus_connection_ref(conn); monitor->linklosslevel = (level ? : g_strdup("none")); monitor->signallevel = g_strdup("unknown"); + monitor->immediatelevel = g_strdup("none"); if (g_dbus_register_interface(conn, path, PROXIMITY_INTERFACE, -- 2.47.3