[PATCH BlueZ 1/2] Write Link Loss Alert level if connected

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

 



When SetProperty gets called for LinkLossAlertLevel, the alert level
can be written in the remote is the link is up.
---
 proximity/monitor.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/proximity/monitor.c b/proximity/monitor.c
index 55d3985..c32ddec 100644
--- a/proximity/monitor.c
+++ b/proximity/monitor.c
@@ -396,6 +396,9 @@ static DBusMessage *set_link_loss_alert(DBusConnection *conn, DBusMessage *msg,
 				PROXIMITY_INTERFACE, "LinkLossAlertLevel",
 				DBUS_TYPE_STRING, &monitor->linklosslevel);
 
+	if (monitor->attrib)
+		write_alert_level(monitor);
+
 	return dbus_message_new_method_return(msg);
 }
 
-- 
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