Merge "Providing bluetooth usage data for battery monitor framework" into tizen
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter.c
index feeb85d..c3fc220 100644 (file)
@@ -85,6 +85,7 @@ BT_EXPORT_API int bluetooth_enable_adapter(void)
        int result;
 
        BT_INFO_C("### Enable adapter");
+       _bt_print_api_caller_name();
        retv_if(bluetooth_check_adapter() == BLUETOOTH_ADAPTER_ENABLED,
                                BLUETOOTH_ERROR_DEVICE_ALREADY_ENABLED);
 
@@ -152,6 +153,7 @@ BT_EXPORT_API int bluetooth_disable_adapter(void)
        int result;
 
        BT_INFO_C("### Disable adapter");
+       _bt_print_api_caller_name();
        BT_CHECK_ENABLED(return);
 
        BT_INIT_PARAMS();
@@ -169,7 +171,7 @@ BT_EXPORT_API int bluetooth_recover_adapter(void)
 {
        int result;
 
-       BT_INFO("Recover adapter");
+       BT_INFO_C("### Recover adapter");
        BT_CHECK_ENABLED(return);
 
        BT_INIT_PARAMS();