gatt-db: Check if permissions are set when adding CCC
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 21 Sep 2022 21:43:24 +0000 (14:43 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit1103d4f05be4b7eae3687dcb954dedff1e62b955
treea47c81adf6f299d996b1f27c7b3c2652b1c180e0
parentf099824af872685d0c1ba642445195feda2ee3c7
gatt-db: Check if permissions are set when adding CCC

CCC shall always have some permission set.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/gatt-db.c