From 9758b08bcf9acb98db2db8a1407b5546d44f907b Mon Sep 17 00:00:00 2001 From: Ian Archer Date: Fri, 18 Jan 2019 12:40:15 +0000 Subject: [PATCH] hostapd: Add support for setting pbss option from config file There is currently no support for setting hostapd_bss_config.pbss from a config file, i.e., it was used only based on automatic logic in wpa_supplicant. This patch adds a key naturally called "pbss" which can be used to set it. Cc: Antony King Signed-off-by: Brendan Jackman --- hostapd/config_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hostapd/config_file.c b/hostapd/config_file.c index daaa484f2..e2ca2789b 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -4258,6 +4258,8 @@ static int hostapd_config_fill(struct hostapd_config *conf, conf->rssi_reject_assoc_rssi = atoi(pos); } else if (os_strcmp(buf, "rssi_reject_assoc_timeout") == 0) { conf->rssi_reject_assoc_timeout = atoi(pos); + } else if (os_strcmp(buf, "pbss") == 0) { + bss->pbss = atoi(pos); } else { wpa_printf(MSG_ERROR, "Line %d: unknown configuration item '%s'",