Scan should be kept even though connectable is changed, because it may not be
a scan for connection.
Change-Id: I87b5d76c86c786de712dad4c801e8642d8cd885a
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
!list_empty(&hdev->adv_instances))
__hci_req_enable_advertising(req);
+#ifndef CONFIG_TIZEN_WIP
+/* Scan is stopped unexpectedly even if connectable mode is enabled while
+ * scanning. Scan should be kept even though connectable is changed, because
+ * it may not be a scan for connection.
+ */
__hci_update_background_scan(req);
+#endif
hci_dev_unlock(hdev);