diff --git a/scripts/mbedtls_framework/config_common.py b/scripts/mbedtls_framework/config_common.py index 5e2a09d2e..7b06cf6a3 100644 --- a/scripts/mbedtls_framework/config_common.py +++ b/scripts/mbedtls_framework/config_common.py @@ -114,7 +114,7 @@ class Config: """ if name in self.settings: setting = self.settings[name] - if setting.value != value or not setting.active: + if (value is not None and setting.value != value) or not setting.active: setting.configfile.modified = True if value is not None: setting.value = value