Commit: c74113c4ba9454ce03c75dabe0aedced7cdf632e
Parent: eb5e46712d45f71881ed3a0fa05b96f99024bb79
Author: Arman Uguray <armansito@chromium.org>
Committer: Arman Uguray <armansito@chromium.org>
Date: 2015-02-28 05:59:28
Tree: 0fe76dcb42307379d06b2bcef569cc91c9ce43e8

shared/gatt: Cancel discovery requests in client This patch fixes potential cases of invalid access if discovery and MTU exchange procedure callbacks are invoked after cleaning up a bt_gatt_client, by cancelling all pending discovery and exchange MTU requests in bt_gatt_cancel_all.

Diffstat

M src/shared/gatt-client.c | 113 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 85 insertions(+), 28 deletions(-)

View Full Diff | Patch