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
This commit is contained in:
Harald Welte
2023-10-20 10:08:28 +02:00
parent f22a615158
commit 575acd9b03

View File

@@ -163,7 +163,7 @@ int osmo_st2_generic_request_board_info(struct osmo_st2_slot *slot)
{ {
struct msgb *msg = st_msgb_alloc(); 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);
} }