]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/storage-powerpc-nvram.c
config/powerpc: Always call update_network_config
[petitboot] / lib / pb-config / storage-powerpc-nvram.c
index 92305f93882cad62dac51324e4d8881f167e9a2d..42de5984f02cc0e53537f864b8f3c067c2f0db03 100644 (file)
@@ -481,8 +481,7 @@ static int update_config(struct powerpc_nvram_storage *nv,
                talloc_free(val);
        }
 
-       if (config->network.n_interfaces)
-               update_network_config(nv, config);
+       update_network_config(nv, config);
 
        return write_nvram(nv);
 }