summaryrefslogtreecommitdiff
path: root/package
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
commit93f73100fc343d8d4b99dd524a03552016f7c3a1 (patch)
treec3ec299a40b0a9543cfeeefb544eb70b4f536e68 /package
parentf27973cad1e2587fbbfded4281345341f109b28c (diff)
downloadmtk-20170518-93f73100fc343d8d4b99dd524a03552016f7c3a1.zip
mtk-20170518-93f73100fc343d8d4b99dd524a03552016f7c3a1.tar.gz
mtk-20170518-93f73100fc343d8d4b99dd524a03552016f7c3a1.tar.bz2
fix isolate mode
SVN-Revision: 7155
Diffstat (limited to 'package')
-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 3e8df9d..9d539a0 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 || {