Use shared connection instead of private connection
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter.c
index 64f4cfa..c760552 100644 (file)
@@ -76,7 +76,7 @@ BT_EXPORT_API int bluetooth_check_adapter(void)
        int value = VCONFKEY_BT_STATUS_OFF;
        int ret;
 
-       ret = _bt_get_adapter_path(_bt_get_system_private_conn(), NULL);
+       ret = _bt_get_adapter_path(_bt_get_system_common_conn(), NULL);
 
        if (ret != BLUETOOTH_ERROR_NONE)
                return BLUETOOTH_ADAPTER_DISABLED;