Porting flight mode logic to tizen5.5
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / bt-request-handler.c
index bffe34d..a6a05e2 100644 (file)
@@ -3449,11 +3449,10 @@ int __bt_core_request(int function_name,
                        BT_DBG("Already enabled");
                        result = BLUETOOTH_ERROR_DEVICE_ALREADY_ENABLED;
                } else {
+                       BT_INFO("Start Enabling Adapter");
                        _bt_adapter_set_status(BT_ACTIVATING);
-
-#if TODO_40 /* Need to add this function */
                        _bt_adapter_start_enable_timer();
-#endif
+                       BT_INFO("Returning with no error");
                        result = BLUETOOTH_ERROR_NONE;
                }
 
@@ -3491,9 +3490,8 @@ int __bt_core_request(int function_name,
                } else {
                        _bt_adapter_set_le_status(BT_LE_ACTIVATING);
 
-#if TODO_40 /* Need to add this function */
                        _bt_adapter_start_le_enable_timer();
-#endif
+
                        result = BLUETOOTH_ERROR_NONE;
                }