diff options
author | Mike Baker <mbm@openwrt.org> | 2007-05-10 06:54:47 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-05-10 06:54:47 +0000 |
commit | 3cffd994a64ecfb70c954ef4d770d42303e1a4b7 (patch) | |
tree | 54322695cdb8d6b9f0e91771d2fee9d60950bc6b /package/madwifi/files/lib/wifi/madwifi.sh | |
parent | f1c18f3a4ceeae3616d5b95fc5f5a138a3c1323a (diff) | |
download | master-187ad058-3cffd994a64ecfb70c954ef4d770d42303e1a4b7.tar.gz master-187ad058-3cffd994a64ecfb70c954ef4d770d42303e1a4b7.tar.bz2 master-187ad058-3cffd994a64ecfb70c954ef4d770d42303e1a4b7.zip |
fix isolate mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 || { |