add isolate closes #1636

SVN-Revision: 7133
This commit is contained in:
Travis Kemen 2007-05-08 01:11:33 +00:00
parent 4463c16036
commit cae78388d1
1 changed files with 3 additions and 0 deletions

View File

@ -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