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
lede-17.01
Felix Fietkau 2009-12-09 17:22:25 +00:00
parent 91a8f2334a
commit d431d864b8
1 changed files with 1 additions and 1 deletions

View 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