Commit: 27c8b368c8f3720c77b1eb2d22d6841e1653a71e
Parent: 25c982250e0b25d3820c86d7d12522308c682722
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-13 13:31:24
Tree: 8f98738fd65334e6499054e1c1bf312a66d53604

android/gatt: Improve send_dev_complete_response For simple reads or writes there is no need to take the request out of the queue as it is destroyed at the end anyway. We can peek and check for errors even before switch statement.

Diffstat

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

1 files changed, 11 insertions(+), 36 deletions(-)

View Full Diff | Patch