From e842ba66d2742d1c5f9445ed2d16475a8524985e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 12 Mar 2015 16:25:55 +0200 Subject: [PATCH] core/device: Remove call to g_attrib_set_mtu The call to g_attrib_set_mtu is no longer needed since g_attrib_get_buffer has learned to check bt_att MTU. --- src/device.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/device.c b/src/device.c index 0dc8c8638..97c052378 100644 --- a/src/device.c +++ b/src/device.c @@ -3975,11 +3975,6 @@ static void gatt_client_ready_cb(bool success, uint8_t att_ecode, return; } - device->att_mtu = bt_att_get_mtu(device->att); - g_attrib_set_mtu(device->attrib, device->att_mtu); - - DBG("MTU: %u", device->att_mtu); - register_gatt_services(device); device_accept_gatt_profiles(device); -- 2.47.3