aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2016-04-12 15:13:22 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-14 16:43:30 (GMT)
commitb6317b417f5dfb16711ec1a7ab3600f77479fe20 (patch)
tree62d128043ddb759599c211cc3e470a3b5e4e6cbd /wpa_supplicant/config_file.c
parent23d71a028695ac8a7b6be7971a294b06c1eaa4fa (diff)
downloadhostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.zip
hostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.tar.gz
hostap-b6317b417f5dfb16711ec1a7ab3600f77479fe20.tar.bz2
wpa_supplicant: Add wps_disabled parameter to network block
Add a new parameter wps_disabled to network block (wpa_ssid). This parameter allows WPS functionality to be disabled in AP mode. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 38061f1..939a795 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -756,6 +756,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
INT(mixed_cell);
INT(max_oper_chwidth);
INT(pbss);
+ INT(wps_disabled);
#ifdef CONFIG_IEEE80211W
write_int(f, "ieee80211w", ssid->ieee80211w,
MGMT_FRAME_PROTECTION_DEFAULT);