[PATCH BlueZ 09/11] Set default value for ImmediateAlertLevel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/proximity/monitor.c b/proximity/monitor.c
index 58557e9..2133ad7 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,
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux