summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-db8b1922fcad7c4a5db72cc3822b757c63334bb9.zip
mtk-20170518-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.gz
mtk-20170518-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.bz2
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 9dc1836..a41c767 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