Commit: 1ea6892cc66302c2d3e41f90c89f3e052fb25ddc
Parent: ebcbada186b2ec9f323064ae7a117baa0881b600
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-15 21:24:14
Tree: 32f6e4794ff113b91a250302142e7ba6eae9446d

shared/att: Add err argument to disconnect cb This patch adds an "int err" argument to the disconnect callback. shared/att obtains the value of SO_ERROR option for the underlying fd and passes it to the callbacks.

Diffstat

M src/shared/att.c | 25 ++++++++++++++++++++- - - - -
M src/shared/att.h | 2 +-
M src/shared/gatt-client.c | 2 +-
M tools/btgatt-client.c | 4 ++- -
M tools/btgatt-server.c | 4 ++- -

5 files changed, 26 insertions(+), 11 deletions(-)

View Full Diff | Patch