projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable wds sta interface splitting by default
[openwrt.git]
/
package
/
madwifi
/
files
/
lib
/
wifi
/
madwifi.sh
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index
010391e
..
9d08e1f
100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-119,9
+119,6
@@
enable_atheros() {
iwpriv "$ifname" ff "$ff"
fi
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;;
config_get wds "$vif" wds
case "$wds" in
1|on|enabled) wds=1;;
@@
-129,6
+126,11
@@
enable_atheros() {
esac
iwpriv "$ifname" wds "$wds"
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)
wpa=
case "$enc" in
WEP|wep)
This page took
0.020206 seconds
and
4
git commands to generate.