diff options
author | Travis Kemen <thepeople@openwrt.org> | 2007-05-08 01:11:33 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2007-05-08 01:11:33 +0000 |
commit | cdb0a95442c9367650c1e6a189ae8724817a615f (patch) | |
tree | 0e2174270d557d29e35b328b411876ee812034bd /package/madwifi/files | |
parent | 71c0129b0d2ae58fea565e2c2680a413bf8552f7 (diff) | |
download | upstream-cdb0a95442c9367650c1e6a189ae8724817a615f.tar.gz upstream-cdb0a95442c9367650c1e6a189ae8724817a615f.tar.bz2 upstream-cdb0a95442c9367650c1e6a189ae8724817a615f.zip |
add isolate closes #1636
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7133 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-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 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 |