mirror of https://github.com/hak5/openwrt-owl.git
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: 18719owl
parent
91a8f2334a
commit
d431d864b8
|
@ -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