aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-12 17:34:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-12 17:34:21 +0000
commitc38691f291066f42000232a42521167ec5374f91 (patch)
tree94d19d48036168ed38ed2b5e9172120fa812aaf7 /package/madwifi
parent72d4a76ab700b6c98a248874772959fc9d9ae02c (diff)
downloadupstream-c38691f291066f42000232a42521167ec5374f91.tar.gz
upstream-c38691f291066f42000232a42521167ec5374f91.tar.bz2
upstream-c38691f291066f42000232a42521167ec5374f91.zip
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
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh1
1 files changed, 1 insertions, 0 deletions
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")"