From 3cffd994a64ecfb70c954ef4d770d42303e1a4b7 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Thu, 10 May 2007 06:54:47 +0000 Subject: fix isolate mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7155 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 3e8df9ded4..9d539a08b0 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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 || { -- cgit v1.2.3