diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-12-09 17:22:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-12-09 17:22:25 +0000 |
commit | d431d864b849b160033f940c20378835f24d12d6 (patch) | |
tree | 9cf3101e39c0c18de6f9df7faa2494622059b3e0 /package/mac80211/files | |
parent | 91a8f2334afb39e3d7a639ea0b3aec0bca185603 (diff) | |
download | upstream-d431d864b849b160033f940c20378835f24d12d6.tar.gz upstream-d431d864b849b160033f940c20378835f24d12d6.tar.bz2 upstream-d431d864b849b160033f940c20378835f24d12d6.zip |
mac80211: fix RTS threshold not being set for mac80211 devices
A typo prevented it from working, tested with ar71xx and ath9k.
Signed-off-by: Otto Solares <solca@guug.org>
SVN-Revision: 18719
Diffstat (limited to 'package/mac80211/files')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index efceebbe4c..6d144a95c9 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -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 |