mac80211: fix RTS threshold not being set for mac80211 devices
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Dec 2009 17:22:25 +0000 (17:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Dec 2009 17:22:25 +0000 (17:22 +0000)
A typo prevented it from working, tested with ar71xx and ath9k.

Signed-off-by: Otto Solares <solca@guug.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18719 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/files/lib/wifi/mac80211.sh

index efceebb..6d144a9 100644 (file)
@@ -209,7 +209,7 @@ enable_mac80211() {
 
                config_get rts "$vif" rts
                if [ -n "$rts" ]; then
-                       iw phy "$phy" set rts "${frag%%.*}"
+                       iw phy "$phy" set rts "${rts%%.*}"
                fi
 
                ifconfig "$ifname" up
This page took 0.027671 seconds and 4 git commands to generate.