hostapd: fix key_mgmt typo
[openwrt/openwrt.git] / package / network / services / hostapd / files / hostapd.sh
index d9a5332bee1872c77439e12efc4cd7d141d7d3e9..815f22db74f2bccedb8c73546b01089aac110fd7 100644 (file)
@@ -1368,7 +1368,7 @@ wpa_supplicant_add_network() {
                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"
        else
                cat >> "$_config" <<EOF