shared/gatt-client: Remove notification if its attribute is removed
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 16 Jul 2020 22:07:42 +0000 (15:07 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commitad90159a6602ec335c35d919eabca5d808cc4c94
tree566b3430b2ecf14e051ed32b669137da8b7e8c0c
parent7a5184b491954b52e88fc4d4bf6031aa96d9909a
shared/gatt-client: Remove notification if its attribute is removed

If the attribute is being removed from the database it means the
notification shall also be dropped, that way users don't have to
cleanup its subscriptions themselves.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/gatt-client.c