aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-10-20 10:08:28 +0200
committerHarald Welte <laforge@osmocom.org>2023-10-20 10:09:34 +0200
commit575acd9b03fa4113b9022ed6550605ba5d02442b (patch)
treeebc24c580c753846b4b014ba43ba06f01b280dcd
parentf22a61515899832db0494c001cc5442dccf0f737 (diff)
simtrace2_api: Fix transmission of SIMTRACE_CMD_BD_BOARD_INFOlaforge/rp2040-wip
Prior to this commit we didn't pass the pointer to the slot when requesting board_info. Change-Id: Ib99e7c0a96f7738480ca68ed2c144c1756a5f11b
-rw-r--r--host/lib/simtrace2_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/simtrace2_api.c b/host/lib/simtrace2_api.c
index c3c61a4..eeacb36 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);
}