adapter: Fix storing discoverable setting
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Jun 2021 23:32:04 +0000 (16:32 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commit93a63c3870d4496e17a48ab8eaea5aba3a825206
treeed77d9525313703931048813ae8289da9074395b
parent580ad2b5b401ca27489df242aa6413b254811c7d
adapter: Fix storing discoverable setting

discoverable setting shall only be store when changed via Discoverable
property and not when discovery client set it as that be considered
temporary just for the lifetime of the discovery.

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