Commit: 0aad414bda3c4852f9a400d7da7a67f1715dc0b7
Parent: 3c8896be642cf83aad79e9b09de3d11a309164ce
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-10-03 13:48:48
Tree: 46fd30b6ba1b4716b212c6249db346845636ad24

android/gatt: Fix adding duplicate connection for server apps This replaces the usage of unsafe function for adding app connections with the one that is almost the same but first it checks if no duplicate entry is added to the list. This fixes connection callback being sent twice for server app when it initiates the connection, and removes duplicated code.

Diffstat

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

1 files changed, 1 insertions(+), 12 deletions(-)

View Full Diff | Patch