Skip to content

Commit 47529f0

Browse files
tokangasrlubos
authored andcommitted
lib: nrf_modem_lib: Add missing parameter initialization
Added missing icmsg instance parameter initialization. Because the parameter was not properly initialized, the icmsg handshake failed. Signed-off-by: Tommi Kangas <[email protected]>
1 parent f608bd3 commit 47529f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/nrf_modem_lib/nrf_modem_os_rpc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ int nrf_modem_os_rpc_open(struct nrf_modem_os_rpc *instance,
130130
instance->conf.mbox_rx.dev = (struct device *)config->rx.sigdev;
131131
instance->conf.mbox_tx.channel_id = config->tx.ch;
132132
instance->conf.mbox_rx.channel_id = config->rx.ch;
133+
instance->conf.unbound_mode = ICMSG_UNBOUND_MODE_DISABLE;
133134

134135
instance->cb.bound = config->cb.bound;
135136
instance->cb.received = config->cb.received;

0 commit comments

Comments
 (0)