adapter: Fix issue where the adv restart logic operates even though adv stop is requested 35/303435/4 accepted/tizen/7.0/unified/20240109.160534
authorWootak Jung <wootak.jung@samsung.com>
Thu, 28 Dec 2023 00:12:59 +0000 (09:12 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Sun, 7 Jan 2024 23:57:56 +0000 (08:57 +0900)
commita2a5c0fdf1389b7d36db9d732a4b2814ef9a3961
treeeb9758bc0797338358622dbd5decfe2ddfa55de1
parentb8acd3e67c680afac0fe46bb89b8b65a8bef68aa
adapter: Fix issue where the adv restart logic operates even though adv stop is requested

Fix the adv restart logic to only operate when adv is enabled

Change-Id: I9aebdc393050b6c7b3674281ffd801c6db18f14c
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/adapter.c