From cae78388d1af6bb494629b1cc45629a15b7f6e5d Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Tue, 8 May 2007 01:11:33 +0000 Subject: add isolate closes #1636 SVN-Revision: 7133 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/madwifi/files/lib') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 69230a71f1..3e8df9ded4 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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 -- cgit v1.2.3