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.
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
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)