make madwifi startup script aware of new iwpriv options
authorJohn Crispin <john@openwrt.org>
Thu, 13 Mar 2008 14:54:26 +0000 (14:54 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 13 Mar 2008 14:54:26 +0000 (14:54 +0000)
SVN-Revision: 10598

package/madwifi/files/lib/wifi/madwifi.sh

index fef63cbcc25aaa0cd1256d8e57ae22cc8d7de1f5..5fa687e0cd04853cbd060eecf905cfeb3b4fa0af 100755 (executable)
@@ -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"