summaryrefslogtreecommitdiff
path: root/client/gatt.c
diff options
context:
space:
mode:
authorUlisses Costa <ulissesaraujocosta@gmail.com>2021-12-07 00:40:01 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-12-07 18:48:46 -0800
commit433f7cce3bc68a05bc7a977aa8e130065872ef3d (patch)
tree376850804f4c28ec76914d25d8cbb884ad0f11fa /client/gatt.c
parent1f380468ce06e22ea66e12f5d681f7e21044b12f (diff)
downloadbluez-433f7cce3bc68a05bc7a977aa8e130065872ef3d.tar.gz
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.
Diffstat (limited to 'client/gatt.c')
-rw-r--r--client/gatt.c2
1 files changed, 1 insertions, 1 deletions
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);
}