From 575acd9b03fa4113b9022ed6550605ba5d02442b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 20 Oct 2023 10:08:28 +0200 Subject: [PATCH] simtrace2_api: Fix transmission of SIMTRACE_CMD_BD_BOARD_INFO Prior to this commit we didn't pass the pointer to the slot when requesting board_info. Change-Id: Ib99e7c0a96f7738480ca68ed2c144c1756a5f11b --- host/lib/simtrace2_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/simtrace2_api.c b/host/lib/simtrace2_api.c index c3c61a4d..eeacb36b 100644 --- a/host/lib/simtrace2_api.c +++ b/host/lib/simtrace2_api.c @@ -163,7 +163,7 @@ int osmo_st2_generic_request_board_info(struct osmo_st2_slot *slot) { struct msgb *msg = st_msgb_alloc(); - return osmo_st2_slot_tx_msg(0, msg, SIMTRACE_MSGC_GENERIC, SIMTRACE_CMD_BD_BOARD_INFO); + return osmo_st2_slot_tx_msg(slot, msg, SIMTRACE_MSGC_GENERIC, SIMTRACE_CMD_BD_BOARD_INFO); }