Remove unnecessary connection getting functions
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter.c
index 1b0de98..ef01810 100644 (file)
@@ -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;