mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix isolate mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7155 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f1c18f3a4c
commit
3cffd994a6
@ -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 || {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user