madwifi init: set the channel after bringing up the interface (sometimes it needs...
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 89ab83d..1dce767 100755 (executable)
@@ -181,6 +181,7 @@ enable_atheros() {
                fi
 
                ifconfig "$ifname" up
+               iwconfig "$ifname" channel "$channel"
 
                local net_cfg bridge
                net_cfg="$(find_net_config "$vif")"
This page took 0.022045 seconds and 4 git commands to generate.