Skip to content

Commit 8b560b3

Browse files
de-nordicgmarull
authored andcommitted
[nrf fromtree] mcumgr/img_mgmt: Fix CONFIG_MCUBOOT_BOOTLOADER_NO_DOWNGRADE
Usage of the Kconfig, in code, has been missing CONFIG_, so selected or not it did nothing. (cherry picked from commit 1ec7116) Signed-off-by: Dominik Ermel <[email protected]>
1 parent 634bfae commit 8b560b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/mgmt/mcumgr/grp/os_mgmt/src/os_mgmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ os_mgmt_bootloader_info(struct smp_streamer *ctxt)
469469

470470
ok = zcbor_tstr_put_lit(zse, "mode") &&
471471
zcbor_int32_put(zse, BOOTLOADER_MODE);
472-
#if IS_ENABLED(MCUBOOT_BOOTLOADER_NO_DOWNGRADE)
472+
#if IS_ENABLED(CONFIG_MCUBOOT_BOOTLOADER_NO_DOWNGRADE)
473473
ok = zcbor_tstr_put_lit(zse, "no-downgrade") &&
474474
zcbor_bool_encode(zse, true);
475475
#endif

0 commit comments

Comments
 (0)