diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-09 19:10:54 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-09 19:10:54 +0000 |
commit | a60b96a907596ed5eefed7754969ac767ba33dbf (patch) | |
tree | 734c22e01f2e5dc7d125e513be82727d58f85978 | |
parent | e0ae631a92ae813bf066f9bd4cc5039402cc9506 (diff) |
hostapd: parse the option for hiding the ESSID (#6310)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18727 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/hostapd/files/hostapd.sh | 2 |
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 |