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
This commit is contained in:
parent
5f6a87f6c4
commit
98da9c9066
1 changed files with 2 additions and 2 deletions
|
@ -303,10 +303,10 @@ enable_atheros() {
|
||||||
config_get_bool comp "$vif" compression 0
|
config_get_bool comp "$vif" compression 0
|
||||||
iwpriv "$ifname" compression "$comp" >/dev/null 2>&1
|
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"
|
[ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"
|
||||||
|
|
||||||
config_get_bool maxrate "$vif" maxrate
|
config_get maxrate "$vif" maxrate
|
||||||
[ -n "$maxrate" ] && iwpriv "$ifname" maxrate "$maxrate"
|
[ -n "$maxrate" ] && iwpriv "$ifname" maxrate "$maxrate"
|
||||||
|
|
||||||
config_get_bool burst "$vif" bursting
|
config_get_bool burst "$vif" bursting
|
||||||
|
|
Loading…
Reference in a new issue