aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2007-05-08 01:11:33 +0000
committerTravis Kemen <thepeople@openwrt.org>2007-05-08 01:11:33 +0000
commitcae78388d1af6bb494629b1cc45629a15b7f6e5d (patch)
tree24289485e22cbf8175a0831e59d6be5bd6b22ae2 /package/madwifi/files/lib/wifi
parent4463c16036d76e853b6949a397cfca1228b20c07 (diff)
downloadupstream-cae78388d1af6bb494629b1cc45629a15b7f6e5d.tar.gz
upstream-cae78388d1af6bb494629b1cc45629a15b7f6e5d.tar.bz2
upstream-cae78388d1af6bb494629b1cc45629a15b7f6e5d.zip
add isolate closes #1636
SVN-Revision: 7133
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
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 69230a71f1..3e8df9ded4 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -194,6 +194,9 @@ enable_atheros() {
iwconfig "$ifname" essid "$ssid"
case "$mode" in
ap)
+ config_get_bool isolate "$vif" isolate 0
+ iwpriv "$ifname" ap_bridge "$isolate"
+
if eval "type hostapd_setup_vif" 2>/dev/null >/dev/null; then
hostapd_setup_vif "$vif" madwifi || {
echo "enable_atheros($device): Failed to set up wpa for interface $ifname" >&2