projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb760df
)
hostapd: parse the option for hiding the ESSID (#6310)
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 9 Dec 2009 19:10:54 +0000
(19:10 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 9 Dec 2009 19:10:54 +0000
(19:10 +0000)
SVN-Revision: 18727
package/hostapd/files/hostapd.sh
patch
|
blob
|
history
diff --git
a/package/hostapd/files/hostapd.sh
b/package/hostapd/files/hostapd.sh
index e12c39276af7ab68e363d98b957f3be8c81bd38b..740155725b16f198481e04579395dea506870039 100644
(file)
--- 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