Thread (3 messages) flat view 3 messages, 3 authors, 2021-12-08
STALE1750d

[PATCH BlueZ] client/gatt: Fix property_change in WriteValue for desc

From: Ulisses Costa <hidden>
Date: 2021-12-06 23:40:18
Subsystem: the rest · Maintainer: Linus Torvalds

---
 client/gatt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/gatt.c b/client/gatt.c
index 9c991c2ac..11f70dc4f 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -2749,7 +2749,7 @@ static DBusMessage *desc_write_value(DBusConnection *conn, DBusMessage *msg,
 	bt_shell_printf("[" COLORED_CHG "] Attribute %s (%s) written",
 			desc->path, bt_uuidstr_to_str(desc->uuid));
 
-	g_dbus_emit_property_changed(conn, desc->path, CHRC_INTERFACE, "Value");
+	g_dbus_emit_property_changed(conn, desc->path, DESC_INTERFACE, "Value");
 
 	return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
 }
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help