Author: nbd
Date: 2015-11-03 13:00:53 +0100 (Tue, 03 Nov 2015)
New Revision: 47372

Modified:
   trunk/scripts/config/confdata.c
Log:
scripts/config: fix handling of CONFDEFAULT on oldconfig

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/scripts/config/confdata.c
===================================================================
--- trunk/scripts/config/confdata.c     2015-11-03 12:00:36 UTC (rev 47371)
+++ trunk/scripts/config/confdata.c     2015-11-03 12:00:53 UTC (rev 47372)
@@ -1166,6 +1166,8 @@
        }
        bool has_changed = false;
 
+       sym_clear_all_valid();
+
        for_all_symbols(i, sym) {
                if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID))
                        continue;
@@ -1209,8 +1211,6 @@
 
        }
 
-       sym_clear_all_valid();
-
        /*
         * We have different type of choice blocks.
         * If curr.tri equals to mod then we can select several
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to