fix isolate mode

SVN-Revision: 7155
This commit is contained in:
Mike Baker 2007-05-10 06:54:47 +00:00
parent f27973cad1
commit 93f73100fc

View file

@ -195,7 +195,7 @@ enable_atheros() {
case "$mode" in
ap)
config_get_bool isolate "$vif" isolate 0
iwpriv "$ifname" ap_bridge "$isolate"
iwpriv "$ifname" ap_bridge "$((isolate^1))"
if eval "type hostapd_setup_vif" 2>/dev/null >/dev/null; then
hostapd_setup_vif "$vif" madwifi || {