Skip to content
Commit 44d85539 authored by Bas van Loon's avatar Bas van Loon Committed by Benjamin Cabé
Browse files

mgmt: mcumgr: transport: smp: Fix smp_transport_clients list init.



Make sure smp_transport_clients list is only initialized once and
before any transports will try to register and add entries to this
list.

The smp_init() routine was called after smp_init_uart(), causing
the list to be emptied again after registration of the uart client
transport.

Signed-off-by: default avatarBas van Loon <bas@arch-embedded.com>
parent 47fc9a1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment