gatt: Fix not setting permissions for CCC
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 21 Sep 2022 21:40:14 +0000 (14:40 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commitf099824af872685d0c1ba642445195feda2ee3c7
tree683b18f32ed2e5e3b786aa258771ed41f74acf89
parent39fa86e20fdc62df6e7be1b443f0d06c6a1b6df7
gatt: Fix not setting permissions for CCC

CCC shall always have both Read and Write permissions set in addition to
what application set.

Fixes: https://github.com/bluez/bluez/issues/399
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/gatt-database.c