Commit: 8add14bb1e744ebbe8c2bbbb538bd54e19142a58
Parent: 2cd4c008b08a0bb8f504b4c0d49a65c02840cd9e
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-22 13:02:42
Tree: ebc49cc1a6caf30372041fa14bc3eeda77d80a7c

shared/gatt: Cancel timeouts when attrib removed This cancels the pending request timeouts when a gatt_db_attribute structure is removed from the gatt-db, to prevent an invalid access when the timeout fires after a free. This patch also increases the pending request timeout interval from 1 second to 5 seconds.

Diffstat

M src/shared/gatt-db.c | 62 ++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 38 insertions(+), 24 deletions(-)

View Full Diff | Patch