Use shared connection instead of private connection
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-adapter-le.c
index 86be586..e4f80cd 100644 (file)
@@ -32,7 +32,7 @@ BT_EXPORT_API int bluetooth_check_adapter_le(void)
        int ret;
        int value;
 
-       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_LE_DISABLED;