From: Felix Fietkau Date: Thu, 12 Apr 2007 17:34:21 +0000 (+0000) Subject: madwifi init: set the channel after bringing up the interface (sometimes it needs... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c38691f291066f42000232a42521167ec5374f91;p=openwrt%2Fstaging%2Fwigyori.git 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 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 89ab83d8fd..1dce76715b 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -181,6 +181,7 @@ enable_atheros() { fi ifconfig "$ifname" up + iwconfig "$ifname" channel "$channel" local net_cfg bridge net_cfg="$(find_net_config "$vif")"