Support the RPI3 target for TV profile
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / adapter / bt-service-core-adapter.c
index 1eb95d4..0f7823d 100644 (file)
@@ -172,13 +172,6 @@ int _bt_enable_adapter(void)
        return __bt_adapter_state_handle_request(TRUE);
 }
 
-int _bt_enable_core(void)
-{
-       /* TODO_40 : 4.0 merge  */
-       BT_INFO("Not Supported");
-       return BLUETOOTH_ERROR_NOT_SUPPORT;
-}
-
 int _bt_recover_adapter(void)
 {
        int result = BLUETOOTH_ERROR_NONE;
@@ -1570,6 +1563,8 @@ static gboolean __bt_adapter_post_set_disabled(gpointer user_data)
                        __bt_set_flightmode_request(BT_ADAPTER_FLIGHT_MODE_NONE);
                } else
                        _bt_reliable_terminate_service(NULL);
+       } else {
+               _bt_set_disabled(BLUETOOTH_ERROR_NONE);
        }
 
        return FALSE;