Parent: 6d15315570a43375ab98fa01841e5d957de1724c
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-04-02 02:25:00
Tree: 12dd58b64c73297067386a10017ac6ef35a45e46
shared/gatt-db: Fix gatt_db_attribute_get_index gatt_db_attribute_get_index was calculating the index based on attrib->handle - service->attributes[0]->handle which doesn't work when there are gaps in between handles. Fixes: https://github.com/bluez/bluez/issues/326
Diffstat
| M | src/shared/gatt-db.c | | | 10 | +++++- - - - - |
1 files changed, 5 insertions(+), 5 deletions(-)