summaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-09 19:10:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-09 19:10:54 +0000
commitb4ea1b0ac3b396bd4c7bf7efcc34005aea20ed0b (patch)
tree3a9d80f42fb4949352b7325579db70ad88a5b589 /package/hostapd/files
parenteb760dffc304afc497631f823afc2d13a53bb416 (diff)
downloadmaster-31e0f0ae-b4ea1b0ac3b396bd4c7bf7efcc34005aea20ed0b.tar.gz
master-31e0f0ae-b4ea1b0ac3b396bd4c7bf7efcc34005aea20ed0b.tar.bz2
master-31e0f0ae-b4ea1b0ac3b396bd4c7bf7efcc34005aea20ed0b.zip
hostapd: parse the option for hiding the ESSID (#6310)
SVN-Revision: 18727
Diffstat (limited to 'package/hostapd/files')
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index e12c39276a..740155725b 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -78,6 +78,7 @@ hostapd_setup_vif() {
config_get hwmode "$device" hwmode
config_get wpa_group_rekey "$vif" wpa_group_rekey
config_get ieee80211d "$vif" ieee80211d
+ config_get_bool hidden "$vif" hidden 0
config_get_bool wds "$vif" wds 0
[ "$wds" -gt 0 -a "$driver" = "nl80211" ] && wds="wds_sta=1" || wds=""
case "$hwmode" in
@@ -119,6 +120,7 @@ EOF
;;
*)
cat >> /var/run/hostapd-$ifname.conf <<EOF
+ignore_broadcast_ssid=$hidden
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10