Parent: 533954fe25408c017e522c917d0dd5619e670b02
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-04-11 16:42:58
Tree: 428df3be68246f4a857c0740ce3b16d758844fef
android/gatt: Add cache check in Clients caching callbacks As we were only checking in API call functions if cache exist and not in asynchronous callbacks, it was possible to schedule multiple discovery sessions before cache was filled with data. This resulted in adding duplicate entries, when all scheduled discovery sessions started to cache data.
Diffstat
| M | android/gatt.c | | | 11 | +++++++++- - |
1 files changed, 9 insertions(+), 2 deletions(-)