Commit 14eb3454 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix -w.

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