aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorDanilo Ravotto <danilo.ravotto@zirak.it>2018-02-01 11:09:38 (GMT)
committerJouni Malinen <j@w1.fi>2018-02-17 15:48:31 (GMT)
commit19e20c14fb015d063dc248a0f4ded195ad229df3 (patch)
tree74a9da3bebb1f73b7da8c3448ec2d794e45c105f /wpa_supplicant/config_file.c
parente51e49fcccd02afa0bfbe8d8e396b1e8d1e440f8 (diff)
downloadhostap-19e20c14fb015d063dc248a0f4ded195ad229df3.zip
hostap-19e20c14fb015d063dc248a0f4ded195ad229df3.tar.gz
hostap-19e20c14fb015d063dc248a0f4ded195ad229df3.tar.bz2
Add ap_isolate configuration option for wpa_supplicant AP mode
Allow client isolation to be configured with ap_isolate inside wpa_supplicant configuration file. Signed-off-by: Danilo Ravotto <danilo.ravotto@zirak.it>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index aaee97e..5a71869 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1282,6 +1282,8 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
fprintf(f, "filter_rssi=%d\n", config->filter_rssi);
if (config->max_num_sta != DEFAULT_MAX_NUM_STA)
fprintf(f, "max_num_sta=%u\n", config->max_num_sta);
+ if (config->ap_isolate != DEFAULT_AP_ISOLATE)
+ fprintf(f, "ap_isolate=%u\n", config->ap_isolate);
if (config->disassoc_low_ack)
fprintf(f, "disassoc_low_ack=%d\n", config->disassoc_low_ack);
#ifdef CONFIG_HS20