From 306be526d6b3e83d190d2aec71f91cec3b86ae4e Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 13 Mar 2008 14:54:26 +0000 Subject: [PATCH] make madwifi startup script aware of new iwpriv options git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index fef63cbcc..5fa687e0c 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"