diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 20:24:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 20:24:25 +0000 |
commit | 9263a154e8be1d747ce364362992a2e3eb97a7fd (patch) | |
tree | 4e3303781886c63c588dc1a3a24f7c73b5e058f7 /package/madwifi/files | |
parent | 73e5afb5a14b0f9ef062ee7f7a350461d83e91c0 (diff) | |
download | master-187ad058-9263a154e8be1d747ce364362992a2e3eb97a7fd.tar.gz master-187ad058-9263a154e8be1d747ce364362992a2e3eb97a7fd.tar.bz2 master-187ad058-9263a154e8be1d747ce364362992a2e3eb97a7fd.zip |
upgrade madwifi, finally fix the annoying ap auto channel selection bug, default to automatic channel selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10259 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index ca933a1ddd..6baf482dc5 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -74,7 +74,9 @@ enable_atheros() { local device="$1" config_get channel "$device" channel config_get vifs "$device" vifs - + + [ auto = "$channel" ] && channel=0 + local first=1 for vif in $vifs; do nosbeacon= @@ -306,7 +308,7 @@ detect_atheros() { cat <<EOF config wifi-device $dev option type atheros - option channel 5 + option channel auto # REMOVE THIS LINE TO ENABLE WIFI: option disabled 1 |