Added 'wps_ap_pin' option along with a default pin for 'label' method Signed-off-by: Lorenzo Cappelletti <lorenzo.cappelle...@gmail.com>
--- diff --git a/hostapd/files/hostapd.sh b/hostapd/files/hostapd.sh --- a/hostapd/files/hostapd.sh +++ b/hostapd/files/hostapd.sh @@ -35,7 +35,11 @@ # per-method options list_contains config_methods label && { + local ap_pin + list_remove config_methods label + + config_get ap_pin "$vif" wps_ap_pin "12345670" } list_contains config_methods push_button && { _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel