diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-07-30 05:22:16 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-07-30 05:22:16 +0000 |
commit | ef0bb0a891f87a0ba5f4a4bb474bbc584d6d8479 (patch) | |
tree | 62aec6eb7cac7e7b0d8458ecdc94b7b1063a6bb2 /package/madwifi/files/lib/wifi | |
parent | 0448c53b0d6ba3388eae4b4ba7e8a8336853a9f6 (diff) |
madwifi: change the network scripts to use the new wds sta separation feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12005 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 5a47f70193..fe1e582f5b 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -120,6 +120,9 @@ 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;; |