summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-10 06:54:47 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-10 06:54:47 +0000
commit162d022cff3c507cdf3c6d21e5ce5eedaeb46236 (patch)
tree54322695cdb8d6b9f0e91771d2fee9d60950bc6b /package/madwifi
parent905e130e13a03166ebb972433110fc272e28e4ab (diff)
fix isolate mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-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 || {