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-a3cf2f4a3e73master
parent
c2804524cf
commit
12c45dea86
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue