aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-26 23:08:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-26 23:08:03 +0000
commitdb8b1922fcad7c4a5db72cc3822b757c63334bb9 (patch)
treeed88036fc529b596c961b42fe52cf906b30e8d26 /package/hostapd/files
parentca1accae4543d5df82a2021d6b01032f2ebb436c (diff)
downloadupstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.gz
upstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.bz2
upstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.zip
hostapd: add ap isolate support for mac80211
SVN-Revision: 21179
Diffstat (limited to 'package/hostapd/files')
-rw-r--r--package/hostapd/files/hostapd.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 9dc18366d9..a41c7678a7 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -5,6 +5,11 @@ hostapd_set_bss_options() {
config_get enc "$vif" encryption
config_get wpa_group_rekey "$vif" wpa_group_rekey
+ config_get_bool ap_isolate "$vif" isolate 0
+
+ if [ "$ap_isolate" -gt 0 ]; then
+ append "$var" "ap_isolate=$ap_isolate" "$N"
+ fi
# Examples:
# psk-mixed/tkip => WPA1+2 PSK, TKIP