mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
scripts/config: fix handling of CONFDEFAULT on oldconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47372
This commit is contained in:
parent
356008e748
commit
b0d9e64464
@ -1166,6 +1166,8 @@ bool conf_set_all_new_symbols(enum conf_def_mode mode)
|
|||||||
}
|
}
|
||||||
bool has_changed = false;
|
bool has_changed = false;
|
||||||
|
|
||||||
|
sym_clear_all_valid();
|
||||||
|
|
||||||
for_all_symbols(i, sym) {
|
for_all_symbols(i, sym) {
|
||||||
if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID))
|
if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID))
|
||||||
continue;
|
continue;
|
||||||
@ -1209,8 +1211,6 @@ bool conf_set_all_new_symbols(enum conf_def_mode mode)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sym_clear_all_valid();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We have different type of choice blocks.
|
* We have different type of choice blocks.
|
||||||
* If curr.tri equals to mod then we can select several
|
* If curr.tri equals to mod then we can select several
|
||||||
|
Loading…
x
Reference in New Issue
Block a user