From: Ulisses Costa Date: Mon, 6 Dec 2021 23:40:01 +0000 (+0100) Subject: client/gatt: Fix property_change in WriteValue for desc X-Git-Tag: submit/tizen/20220313.220938~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac3e956526c8d1e8107ed13ecee416b43dce2369;p=platform%2Fupstream%2Fbluez.git client/gatt: Fix property_change in WriteValue for desc g_dbus_emit_property_changed was not working properly in the WriteValue for the descriptor because the Characteristic interface was being used. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/client/gatt.c b/client/gatt.c index b952d9a..8141a7e 100755 --- a/client/gatt.c +++ b/client/gatt.c @@ -2748,7 +2748,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); }