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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18719 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-12-09 17:22:25 +00:00
parent c2804524cf
commit 12c45dea86
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ enable_mac80211() {
config_get rts "$vif" rts config_get rts "$vif" rts
if [ -n "$rts" ]; then if [ -n "$rts" ]; then
iw phy "$phy" set rts "${frag%%.*}" iw phy "$phy" set rts "${rts%%.*}"
fi fi
ifconfig "$ifname" up ifconfig "$ifname" up