aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-03-13 14:54:26 +0000
committerJohn Crispin <blogic@openwrt.org>2008-03-13 14:54:26 +0000
commitfb13fc23e16ae773bb51e4139fbf260c21701310 (patch)
tree7a2af101a2f58b3f77eca40b68136a96da24032d /package/madwifi
parent629ca7b2e235619c588342aa0f794ab8fe6703d2 (diff)
downloadupstream-fb13fc23e16ae773bb51e4139fbf260c21701310.tar.gz
upstream-fb13fc23e16ae773bb51e4139fbf260c21701310.tar.bz2
upstream-fb13fc23e16ae773bb51e4139fbf260c21701310.zip
make madwifi startup script aware of new iwpriv options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10598 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index fef63cbcc2..5fa687e0cd 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -197,6 +197,12 @@ enable_atheros() {
config_get_bool comp "$vif" compression
[ -n "$comp" ] && iwpriv "$ifname" compression "$comp"
+ config_get_bool minrate "$vif" minrate
+ [ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"
+
+ config_get_bool maxrate "$vif" maxrate
+ [ -n "$maxrate" ] && iwpriv "$ifname" maxrate "$maxrate"
+
config_get_bool burst "$vif" bursting
[ -n "$burst" ] && iwpriv "$ifname" burst "$burst"