madwifi init: set the channel after bringing up the interface (sometimes it needs...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Apr 2007 17:34:21 +0000 (17:34 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Apr 2007 17:34:21 +0000 (17:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6939 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index 89ab83d..1dce767 100755 (executable)
@@ -181,6 +181,7 @@ enable_atheros() {
                fi
 
                ifconfig "$ifname" up
                fi
 
                ifconfig "$ifname" up
+               iwconfig "$ifname" channel "$channel"
 
                local net_cfg bridge
                net_cfg="$(find_net_config "$vif")"
 
                local net_cfg bridge
                net_cfg="$(find_net_config "$vif")"
This page took 0.02829 seconds and 4 git commands to generate.