Skip to content
Snippets Groups Projects
Commit c38691f2 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

madwifi init: set the channel after bringing up the interface (sometimes it...

madwifi init: set the channel after bringing up the interface (sometimes it needs the channel before bringing up the interface, sometimes after, no idea what's going on)

SVN-Revision: 6939
parent 72d4a76a
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,7 @@ enable_atheros() { ...@@ -181,6 +181,7 @@ enable_atheros() {
fi fi
ifconfig "$ifname" up ifconfig "$ifname" up
iwconfig "$ifname" channel "$channel"
local net_cfg bridge local net_cfg bridge
net_cfg="$(find_net_config "$vif")" net_cfg="$(find_net_config "$vif")"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment