mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
fix isolate mode
SVN-Revision: 7155
This commit is contained in:
parent
f27973cad1
commit
93f73100fc
@ -195,7 +195,7 @@ enable_atheros() {
|
|||||||
case "$mode" in
|
case "$mode" in
|
||||||
ap)
|
ap)
|
||||||
config_get_bool isolate "$vif" isolate 0
|
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
|
if eval "type hostapd_setup_vif" 2>/dev/null >/dev/null; then
|
||||||
hostapd_setup_vif "$vif" madwifi || {
|
hostapd_setup_vif "$vif" madwifi || {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user