From 162d022cff3c507cdf3c6d21e5ce5eedaeb46236 Mon Sep 17 00:00:00 2001 From: mbm 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(-) (limited to 'package') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 3e8df9ded..9d539a08b 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