diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-26 23:08:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-04-26 23:08:03 +0000 |
commit | ebf5ee501beb0a7ff4321ddf4c0cb923545cae18 (patch) | |
tree | b20396c09d2c3025b1e3858a386171d69ad2b9e2 /package/hostapd/files | |
parent | a82bff0b4154ef4dd55513db2e545f14106ecf55 (diff) | |
download | master-187ad058-ebf5ee501beb0a7ff4321ddf4c0cb923545cae18.tar.gz master-187ad058-ebf5ee501beb0a7ff4321ddf4c0cb923545cae18.tar.bz2 master-187ad058-ebf5ee501beb0a7ff4321ddf4c0cb923545cae18.zip |
hostapd: add ap isolate support for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files')
-rw-r--r-- | package/hostapd/files/hostapd.sh | 5 |
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 |