/* Not an error: nothing to query */
BT_LIB_LOGD("Component class has no registered query method: "
"%!+C", comp_cls);
- status = BT_FUNC_STATUS_UNSUPPORTED;
+ status = BT_FUNC_STATUS_INVALID_OBJECT;
goto end;
}
bt_bool bt_query_executor_is_canceled(const struct bt_query_executor *query_exec)
{
- BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor");
+ BT_ASSERT_PRE_DEV_NON_NULL(query_exec, "Query executor");
return query_exec->canceled;
}