mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:01:09 +02:00
add isolate closes #1636
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7133 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
daccf0d4bc
commit
6ddf3839a1
@ -194,6 +194,9 @@ enable_atheros() {
|
||||
iwconfig "$ifname" essid "$ssid"
|
||||
case "$mode" in
|
||||
ap)
|
||||
config_get_bool isolate "$vif" isolate 0
|
||||
iwpriv "$ifname" ap_bridge "$isolate"
|
||||
|
||||
if eval "type hostapd_setup_vif" 2>/dev/null >/dev/null; then
|
||||
hostapd_setup_vif "$vif" madwifi || {
|
||||
echo "enable_atheros($device): Failed to set up wpa for interface $ifname" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user