--- profiles/gatt/gas.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c index d240450..01defa0 100644 --- a/profiles/gatt/gas.c +++ b/profiles/gatt/gas.c @@ -329,6 +329,11 @@ static void attio_connected_cb(GAttrib *attrib, gpointer user_data) DBG("MTU Exchange: Requesting %d", imtu); } + if (gerr) { + error("Could not acquire att imtu and cid: %s", gerr->message); + free(gerr); + } + if (device_get_appearance(gas->device, &app) < 0) { bt_uuid_t uuid; -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html