adapter: Fix issue where adv stop request disables unintended instance 88/304188/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240117.163238 accepted/tizen/unified/riscv/20240118.054605
authorWootak Jung <wootak.jung@samsung.com>
Thu, 11 Jan 2024 00:09:19 +0000 (09:09 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 11 Jan 2024 23:21:11 +0000 (08:21 +0900)
commit35119a7c9491f6f3c06706b0188f38b54de02968
tree189b4de5d296aec19a628c4cbf1b0c2e7c172086
parentf42d4e330d28509100a506f2b40701c47a5098d6
adapter: Fix issue where adv stop request disables unintended instance

Reproduction steps:
1. adv1, adv2 are in progress
2. LE connected and adv2 has stopped for a while and is scheduled(timer) to restart
3. adv1 stop request before restart timer is run
4. timer is removed and adv1 is stopped
5. adv2 is not restarted even though it should

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