enable wds sta interface splitting by default
SVN-Revision: 12056
This commit is contained in:
parent
1201ed1baa
commit
8970a1213b
1 changed files with 5 additions and 3 deletions
|
@ -119,9 +119,6 @@ enable_atheros() {
|
|||
iwpriv "$ifname" ff "$ff"
|
||||
fi
|
||||
|
||||
config_get wdssep "$vif" wdssep
|
||||
[ -n "$wdssep" ] && iwpriv "$ifname" wdssep "$wdssep"
|
||||
|
||||
config_get wds "$vif" wds
|
||||
case "$wds" in
|
||||
1|on|enabled) wds=1;;
|
||||
|
@ -129,6 +126,11 @@ enable_atheros() {
|
|||
esac
|
||||
iwpriv "$ifname" wds "$wds"
|
||||
|
||||
[ "$mode" = ap -a "$wds" = 1 ] && {
|
||||
config_get_bool wdssep "$vif" wdssep 1
|
||||
[ -n "$wdssep" ] && iwpriv "$ifname" wdssep "$wdssep"
|
||||
}
|
||||
|
||||
wpa=
|
||||
case "$enc" in
|
||||
WEP|wep)
|
||||
|
|
Loading…
Reference in a new issue