Set the connectable mode in IOT profile 22/266522/1 submit/tizen/20211114.231048
authordh79pyun <dh79.pyun@samsung.com>
Mon, 15 Nov 2021 02:11:24 +0000 (11:11 +0900)
committerdh79pyun <dh79.pyun@samsung.com>
Mon, 15 Nov 2021 02:11:24 +0000 (11:11 +0900)
Change-Id: I5fbdcf58781eeaef725fa46a625428762b740f9e
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
bt-service/services/adapter/bt-service-core-adapter.c

index 8d4e9b9..4d49d18 100644 (file)
@@ -1482,7 +1482,7 @@ static gboolean __bt_adapter_post_set_enabled(gpointer user_data)
 
        BT_INFO("__bt_adapter_post_set_enabled>>");
 
-       if (TIZEN_PROFILE_IOT && !headed_plugin_info->plugin_headed_enabled) {
+       if (TIZEN_PROFILE_IOT) {
                /* Tizen IOT Speaker - The default visible mode is off */
                if (BLUETOOTH_ERROR_NONE != _bt_set_discoverable_mode(
                                BLUETOOTH_DISCOVERABLE_MODE_CONNECTABLE, 0))