diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-12 17:34:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-12 17:34:21 +0000 |
commit | c38691f291066f42000232a42521167ec5374f91 (patch) | |
tree | 94d19d48036168ed38ed2b5e9172120fa812aaf7 /package/madwifi/files/lib/wifi | |
parent | 72d4a76ab700b6c98a248874772959fc9d9ae02c (diff) | |
download | mtk-20170518-c38691f291066f42000232a42521167ec5374f91.zip mtk-20170518-c38691f291066f42000232a42521167ec5374f91.tar.gz mtk-20170518-c38691f291066f42000232a42521167ec5374f91.tar.bz2 |
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/files/lib/wifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 1 |
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 89ab83d..1dce767 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")" |