set_advertising returns in_progress error even if the restart is scheduled by le... 97/242897/1 accepted/tizen/unified/20200904.035416 submit/tizen/20200902.223427
authorDeokhyun Kim <dukan.kim@samsung.com>
Tue, 25 Aug 2020 06:44:37 +0000 (15:44 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 2 Sep 2020 00:03:19 +0000 (09:03 +0900)
commit86636c65896526206351e5a36e514ae9fca527d1
treec6e52179c24a4c8d75a7cc061d3e1a532f828edd
parent37177d2f7337f89b87a6a2c8431c5ff63a0b19bf
set_advertising returns in_progress error even if the restart is scheduled by le connection.

le_discovering should be set before remove_watch is called

[Model] 5.5
[BinType] AP
[Customer] OPEN

[Issue#] P200824-01952
[Request] PLM
[Occurrence Version] R825USQE1BTH8

[Problem] set_advertising fails
[Cause & Measure] advertising is already stopped by le connection.
  And the restart is scheduled with 300ms delay.
  set_advertising returns in_progress error even if the restart is scheduled
  by le connection.
[Checking Method] Try to stop advertising right after le is connected.

[Team] Bluetooth
[Developer] Deokhyun Kim
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I7fef2e0b5fba1219dfe8f02b223d870450ccb651
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/adapter.c