Skip to content

Commit b500f4c

Browse files
maass-hamburgkartben
authored andcommitted
mgmt: hawkbit: use settings_save_subtree()
use settings_save_subtree() instead of settings_save() to only save the hawkbit settings Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
1 parent dd37c60 commit b500f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/mgmt/hawkbit/hawkbit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ int hawkbit_set_config(struct hawkbit_runtime_config *config)
797797
LOG_DBG("configured %s: %d", "hawkbit/tls_tag", hb_cfg.tls_tag);
798798
}
799799
#endif /* CONFIG_HAWKBIT_USE_DYNAMIC_CERT_TAG */
800-
settings_save();
800+
settings_save_subtree("hawkbit");
801801
k_sem_give(&probe_sem);
802802
} else {
803803
LOG_WRN("failed setting config");

0 commit comments

Comments
 (0)