add isolate closes #1636
authorTravis Kemen <thepeople@openwrt.org>
Tue, 8 May 2007 01:11:33 +0000 (01:11 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Tue, 8 May 2007 01:11:33 +0000 (01:11 +0000)
SVN-Revision: 7133

package/madwifi/files/lib/wifi/madwifi.sh

index 69230a71f1d10cef8a748350be17cc692decf58c..3e8df9ded42e02cae5d5cbcf5d474dae5889f195 100755 (executable)
@@ -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