From 7406bafce9bc69a29abf1f324a649735687c57fc Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 9 Dec 2009 17:22:25 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18719 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index efceebbe4..6d144a95c 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 -- cgit v1.2.3