*v2: Fix comments by Marcel: - Moved MTU exchange id patch out of 1/3. - Renamed bt_gatt_async_req to bt_gatt_request. *v1: Fix errors from checkpatch This patch set makes the GATT discovery helper procedures cancellable. bt_gatt_client now cancels discovery and MTU exchange procedures in bt_gatt_client_cancel_all. Arman Uguray (3): shared/gatt: Make discovery operations cancelable shared/gatt: Cancel discovery requests in client unit/test-gatt: Unref pending discovery requests src/shared/gatt-client.c | 113 +++++++++++++++------ src/shared/gatt-helpers.c | 252 ++++++++++++++++++++++++++-------------------- src/shared/gatt-helpers.h | 37 ++++--- unit/test-gatt.c | 25 +++-- 4 files changed, 271 insertions(+), 156 deletions(-) -- 2.2.0.rc0.207.ga3a616c -- 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