X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Fbt-adapter.c;h=418613f35392e71b827516b2d2c271885154fd9b;hb=1fa07edcd0e77a445700975773db3300f556caf5;hp=1b0de986bcef702b0684a11ea3cfe2dc883155cf;hpb=4d6168053c283df60726c35d3dc99882c1a325b1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/bt-adapter.c b/bt-api/bt-adapter.c index 1b0de98..418613f 100644 --- a/bt-api/bt-adapter.c +++ b/bt-api/bt-adapter.c @@ -64,7 +64,7 @@ BT_EXPORT_API int bluetooth_check_adapter(void) #ifndef TIZEN_TEST_EMUL int ret; - ret = _bt_get_adapter_path(_bt_gdbus_get_system_gconn(), NULL); + ret = _bt_get_adapter_path(_bt_get_system_private_conn(), NULL); if (ret != BLUETOOTH_ERROR_NONE) return BLUETOOTH_ADAPTER_DISABLED; @@ -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); @@ -109,6 +110,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(); @@ -126,7 +128,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();