Commit: e2b210612237cf69e937ac25db7c1fdb6758ba8c
Parent: ef69a126df7ba347f0c7a5726f09bd55b35c4575
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-04-14 11:04:31
Tree: 4eb6b88a94c770c929cf68cfd460733789e579a7

android/gatt: Cleanup device lists With this patch, devices from conn_list and conn_wait_queue which are without a client e.g. because client has unregister without any cleaning, are move to the disconnected device queue. Also connected device without clients are disconnected. And if there is no dev waiting for connect we do stop scan.

Diffstat

M android/gatt.c | 51 ++++++++++++++++++++++++++++++++++++++++- - - -

1 files changed, 47 insertions(+), 4 deletions(-)

View Full Diff | Patch