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
This commit is contained in:
Felix Fietkau 2009-12-09 17:22:25 +00:00
parent 91a8f2334a
commit d431d864b8

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