shared/gatt-db: Allow passing 0 as handle to gatt_db_insert_*
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 28 Jan 2019 14:38:17 +0000 (16:38 +0200)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 13:33:15 +0000 (19:03 +0530)
commit6fa641aabf9b5656516f763fea967ed411fa948b
tree9d67fcbbd844f327c58c783104c99d7a19e91283
parent5fa86f858a6855caa7995761393df687c24ffe39
shared/gatt-db: Allow passing 0 as handle to gatt_db_insert_*

Handle 0 should be allocate on the next handle just as any of
gatt_db_add_* functions.

Change-Id: I5d16794c2db66203c2ccae0893ce42505f33f62f
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/shared/gatt-db.c