aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-10 06:54:47 +0000
committerMike Baker <mbm@openwrt.org>2007-05-10 06:54:47 +0000
commit3cffd994a64ecfb70c954ef4d770d42303e1a4b7 (patch)
tree54322695cdb8d6b9f0e91771d2fee9d60950bc6b /package/madwifi/files
parentf1c18f3a4ceeae3616d5b95fc5f5a138a3c1323a (diff)
downloadupstream-3cffd994a64ecfb70c954ef4d770d42303e1a4b7.tar.gz
upstream-3cffd994a64ecfb70c954ef4d770d42303e1a4b7.tar.bz2
upstream-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')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
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 || {