From: Felix Fietkau Date: Wed, 9 Dec 2009 17:22:25 +0000 (+0000) Subject: mac80211: fix RTS threshold not being set for mac80211 devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d431d864b849b160033f940c20378835f24d12d6;p=openwrt%2Fstaging%2Fmans0n.git 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 SVN-Revision: 18719 --- 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