From 37b29ab5c61d0bfdd2e7c36008de64fb0e38e576 Mon Sep 17 00:00:00 2001 From: Suvendhu Hansa Date: Thu, 12 Feb 2026 12:28:17 +0530 Subject: [PATCH] Cleanup dmmap after config download --- src/uci_utils.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/uci_utils.c b/src/uci_utils.c index 11f8f9c..c04a278 100644 --- a/src/uci_utils.c +++ b/src/uci_utils.c @@ -737,6 +737,12 @@ end: } fclose(input); pthread_mutex_unlock(&mutex_config_load); + + if (ret == CWMP_OK) { + // Need to remove dmmap + set_uci_path_value(VARSTATE_CONFIG, "dmmap.dmmap.cleanup", "1"); + } + return ret; }