From: Mike Baker Date: Thu, 10 May 2007 06:54:47 +0000 (+0000) Subject: fix isolate mode X-Git-Tag: reboot~29286 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93f73100fc343d8d4b99dd524a03552016f7c3a1;p=openwrt%2Fstaging%2Fblogic.git fix isolate mode SVN-Revision: 7155 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 3e8df9ded42e..9d539a08b0aa 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 || {