[source] hostapd: default to wps_independent 1
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 1 07:08:22 PST 2017
jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/ff813588fd721ae2755d74f2cb06860609094b28
commit ff813588fd721ae2755d74f2cb06860609094b28
Author: Steven Honson <steven at honson.id.au>
AuthorDate: Sat Jan 14 22:22:24 2017 +1100
hostapd: default to wps_independent 1
Signed-off-by: Steven Honson <steven at honson.id.au>
---
package/network/services/hostapd/files/netifd.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index dfe4100..988ebc7 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -329,6 +329,7 @@ hostapd_set_bss_options() {
set_default wps_device_type "6-0050F204-1"
set_default wps_device_name "Lede AP"
set_default wps_manufacturer "www.lede-project.org"
+ set_default wps_independent 1
wps_state=2
[ -n "$wps_configured" ] && wps_state=1
@@ -342,8 +343,8 @@ hostapd_set_bss_options() {
append bss_conf "device_name=$wps_device_name" "$N"
append bss_conf "manufacturer=$wps_manufacturer" "$N"
append bss_conf "config_methods=$config_methods" "$N"
+ append bss_conf "wps_independent=$wps_independent" "$N"
[ -n "$wps_ap_setup_locked" ] && append bss_conf "ap_setup_locked=$wps_ap_setup_locked" "$N"
- [ -n "$wps_independent" ] && append bss_conf "wps_independent=$wps_independent" "$N"
[ "$wps_pbc_in_m1" -gt 0 ] && append bss_conf "pbc_in_m1=$wps_pbc_in_m1" "$N"
}
More information about the lede-commits
mailing list