kconfig: loop as long as we changed some symbols in randconfig
[carl9170fw.git] / config / conf.c
index 893f031283114ef403c44ca2e9706d2ec551902e..e308f5bf09a546b85017eea5e551ddbc8ceecc7b 100644 (file)
@@ -615,7 +615,8 @@ int main(int ac, char **av)
                conf_set_all_new_symbols(def_default);
                break;
        case randconfig:
-               conf_set_all_new_symbols(def_random);
+               /* Really nothing to do in this loop */
+               while (conf_set_all_new_symbols(def_random)) ;
                break;
        case defconfig:
                conf_set_all_new_symbols(def_default);