Diff between 8fa87b63f82b91d4e6ab577f6045d0b5846b92bd and 18849a6c5ba65af9eabfc545bbfe132d18a9b94b
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 6a23adc..8ad62d3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -4039,6 +4039,8 @@ static void gatt_server_init(struct btd_device *device, struct gatt_db *db)
device->server = bt_gatt_server_new(db, device->att, device->att_mtu);
if (!device->server)
error("Failed to initialize bt_gatt_server");
+
+ bt_gatt_server_set_debug(device->server, gatt_debug, NULL, NULL);
}
static bool local_counter(uint32_t *sign_cnt, void *user_data)