Parent: 713f1931e6faed031af9facfa697c589b5640e6c
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-04-08 15:25:00
Tree: f07e46b168cebbdf5606fb678fd842ddd44994d3
shared/gatt-db: Skip ahead if handle range is not within service This checks if a range is within service handles skipping if it is not, it also convert the direct search to use gatt_db_foreach_service_in_range instead so all operation that do lookups in a range can benefit from such optimization.
Diffstat
| M | src/shared/gatt-db.c | | | 40 | +++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - |
1 files changed, 19 insertions(+), 21 deletions(-)