Commit ade29ed4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Allow configuration file to override -w.

parent 15720093
......@@ -242,12 +242,12 @@ network_up(struct network *net, int up)
resize_receive_buffer(mtu);
if(all_wireless) {
wired = 0;
} else if(NET_CONF(net, wired) == CONFIG_NO) {
if(NET_CONF(net, wired) == CONFIG_NO) {
wired = 0;
} else if(NET_CONF(net, wired) == CONFIG_YES) {
wired = 1;
} else if(all_wireless) {
wired = 0;
} else {
rc = kernel_interface_wireless(net->ifname, net->ifindex);
if(rc < 0) {
......
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