summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-03-21 13:04:33 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-03-23 15:39:45 -0700
commit71cec503c8da865ab1e74ea6716a8034264dcb48 (patch)
tree2c60ba79543551499a4f535f7b01239155aa8d79 /src/device.c
parente1b808c128fa0f1a2a5e16387e3b026cf3d6ec83 (diff)
downloadbluez-71cec503c8da865ab1e74ea6716a8034264dcb48.tar.gz
device: Don't use DBG in gatt_debug
gatt_debug callback is used to print debug strings from bt_att which includes the file and function names so using DBG would add yet another set of file and function prefixes which makes the logs confusing.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 3992f9a0c..381faf91c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -5545,7 +5545,7 @@ static void gatt_client_service_changed(uint16_t start_handle,
static void gatt_debug(const char *str, void *user_data)
{
- DBG("%s", str);
+ DBG_IDX(0xffff, "%s", str);
}
static void gatt_client_init(struct btd_device *device)