adapter: Fix issue where adv stop request disables unintended instance 54/304154/1 accepted/tizen/7.0/unified/20240115.170647
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 00:18:30 +0000 (09:18 +0900)
commit4e0dd434b99dc855b0461c8d5ee0e028c60d239f
tree0a08e98bbc9eaa60f7472ff0013de7ecce8fd93d
parenta2a5c0fdf1389b7d36db9d732a4b2814ef9a3961
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