Diff between 3450230f9f45d97abddec04f31b6e000411b55a4 and 1ef6570a70d917585ed654f26b5ee06c54bc3b3e

Changed Files

File Additions Deletions Status
src/device.c +2 -0 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 2e97876..fe885aa 100644
--- a/src/device.c
+++ b/src/device.c
@@ -5336,6 +5336,8 @@ bool device_attach_att(struct btd_device *dev, GIOChannel *io)
 
 	bt_att_ref(dev->att);
 
+	bt_att_set_debug(dev->att, BT_ATT_DEBUG, gatt_debug, NULL, NULL);
+
 	dev->att_disconn_id = bt_att_register_disconnect(dev->att,
 						att_disconnected_cb, dev, NULL);
 	bt_att_set_close_on_unref(dev->att, true);