Skip to content
Commit 19259ab7 authored by Dominik Ermel's avatar Dominik Ermel Committed by Marti Bolivar
Browse files

mgmt/mcumgr/lib: Fix image list command crashing when no device



It is possible, in case of two application images, to have no access
to one of devices of the secondary image.
When asserts are enabled, such situation causes crash even though the
image list command can handle it with no problem.
The commit removes the assert and adds additional swap type:
IMG_MGMT_SWAP_TYPE_UNKNOWN to indicate situations where it was
not possible to obtain swap type from boot_util.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 54b2fc07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment