summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-01-08 10:54:24 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-01-08 11:03:35 -0800
commit3450230f9f45d97abddec04f31b6e000411b55a4 (patch)
tree67de6ae7d9bcacfcf6625912d3372f8390b02398 /unit
parent566363b620c8a4896affe1c46fe70d2854834b33 (diff)
downloadbluez-3450230f9f45d97abddec04f31b6e000411b55a4.tar.gz
shared/att: Add debug level to bt_att_set_debug
This creates different levels of debugging which can be passed to bt_att_set_debug as depending on the application it may not need to print everything which can pollute the logs quite a bit.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-gatt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 6a49210c5..4aa87d09c 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -658,7 +658,7 @@ static struct context *create_context(uint16_t mtu, gconstpointer data)
switch (test_data->context_type) {
case ATT:
- bt_att_set_debug(context->att, print_debug, "bt_att:", NULL);
+ bt_att_set_debug(context->att, 1, print_debug, "bt_att:", NULL);
bt_gatt_exchange_mtu(context->att, mtu, NULL, NULL, NULL);
break;