mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 12:00:49 +00:00
hostapd: fix key_mgmt typo
The key_mgmt variable was mistyped when checking against "WPS", so the if clause was never entered. Fixes: f5753aae233f ("hostapd: add support for WPS pushbutton station") Signed-off-by: Leon M. George <leon@georgemail.eu> [add commit message, bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
2b7bca45dd
commit
95e4788323
@ -7,7 +7,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hostapd
|
PKG_NAME:=hostapd
|
||||||
PKG_RELEASE:=26
|
PKG_RELEASE:=27
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
@ -1368,7 +1368,7 @@ wpa_supplicant_add_network() {
|
|||||||
append network_data "mcast_rate=$mc_rate" "$N$T"
|
append network_data "mcast_rate=$mc_rate" "$N$T"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$key_mgnt" = "WPS" ]; then
|
if [ "$key_mgmt" = "WPS" ]; then
|
||||||
echo "wps_cred_processing=1" >> "$_config"
|
echo "wps_cred_processing=1" >> "$_config"
|
||||||
else
|
else
|
||||||
cat >> "$_config" <<EOF
|
cat >> "$_config" <<EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user