Commit 487e3d65 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Move finalise_config later.

parent 848afca4
......@@ -252,12 +252,6 @@ main(int argc, char **argv)
}
}
rc = finalise_config();
if(rc < 0) {
fprintf(stderr, "Couldn't finalise configuration.\n");
exit(1);
}
if(wireless_hello_interval <= 0)
wireless_hello_interval = 4000;
wireless_hello_interval = MAX(wireless_hello_interval, 5);
......@@ -355,6 +349,12 @@ main(int argc, char **argv)
}
}
rc = finalise_config();
if(rc < 0) {
fprintf(stderr, "Couldn't finalise configuration.\n");
exit(1);
}
while(*arg) {
debugf("Adding network %s.\n", *arg);
vrc = add_network(*arg, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment