summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-06 20:50:14 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-06 20:50:14 +0000
commit98da9c9066705e9419f83e5238fc56b8096bfcc5 (patch)
tree91ec8570aebad952696b58b35eaf9fbbf27fa9f8 /package/madwifi
parent5f6a87f6c410622487a0a3ba9197e2a3418c4a75 (diff)
downloadmtk-20170518-98da9c9066705e9419f83e5238fc56b8096bfcc5.zip
mtk-20170518-98da9c9066705e9419f83e5238fc56b8096bfcc5.tar.gz
mtk-20170518-98da9c9066705e9419f83e5238fc56b8096bfcc5.tar.bz2
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> SVN-Revision: 26504
Diffstat (limited to 'package/madwifi')
-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 1f22b70..bd93d47 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