aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-04-06 20:50:14 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-04-06 20:50:14 +0000
commita0f6e3bf1982e13a60d0fcc610a869b26f546919 (patch)
tree0dd47251db6120c21f601fac2d465359e373ad00
parent620f280b13a2b58d1250f55060c9b699d5cb79f6 (diff)
downloadupstream-a0f6e3bf1982e13a60d0fcc610a869b26f546919.tar.gz
upstream-a0f6e3bf1982e13a60d0fcc610a869b26f546919.tar.bz2
upstream-a0f6e3bf1982e13a60d0fcc610a869b26f546919.zip
[packages] madwifi: typo(s) in /lib/wifi/madwifi.sh
Hi minrate and maxrate are acually not boolean, so, for example "config minrate 11000" in /etc/config/wireless has no effect. Signed-off by: Jan Hetges <tran@ms20.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26504 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 1f22b70af4..bd93d47369 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -303,10 +303,10 @@ enable_atheros() {
config_get_bool comp "$vif" compression 0
iwpriv "$ifname" compression "$comp" >/dev/null 2>&1
- config_get_bool minrate "$vif" minrate
+ config_get minrate "$vif" minrate
[ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"
- config_get_bool maxrate "$vif" maxrate
+ config_get maxrate "$vif" maxrate
[ -n "$maxrate" ] && iwpriv "$ifname" maxrate "$maxrate"
config_get_bool burst "$vif" bursting