projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1201ed1
)
enable wds sta interface splitting by default
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 1 Aug 2008 00:38:47 +0000
(
00:38
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 1 Aug 2008 00:38:47 +0000
(
00:38
+0000)
SVN-Revision: 12056
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 010391e35a7b82db3cf809209f66839b26be90fb..9d08e1fab0966e8760e0a82d39819fb915e9b309 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
- 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)