mirror of https://github.com/hak5/openwrt-owl.git
parent
cb85dcb1a8
commit
7d599ee46c
|
@ -125,7 +125,7 @@ enable_mac80211() {
|
||||||
;;
|
;;
|
||||||
sta)
|
sta)
|
||||||
local wdsflag
|
local wdsflag
|
||||||
[ "$wds" -gt 0 ] && wdsflag="wds on"
|
[ "$wds" -gt 0 ] && wdsflag="4addr on"
|
||||||
iw phy "$phy" interface add "$ifname" type managed $wdsflag
|
iw phy "$phy" interface add "$ifname" type managed $wdsflag
|
||||||
config_get_bool powersave "$vif" powersave 0
|
config_get_bool powersave "$vif" powersave 0
|
||||||
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
||||||
|
|
Loading…
Reference in New Issue