diff options
author | Ian Archer <ian.archer@bluwirelesstechnology.com> | 2019-01-18 12:40:15 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2019-01-21 10:35:59 (GMT) |
commit | 9758b08bcf9acb98db2db8a1407b5546d44f907b (patch) | |
tree | 0c523c78377893fe03c62a0601ab78f174e87cab /hostapd | |
parent | cc0f24196b31456afb77f39c84e97967d28d3a0d (diff) | |
download | hostap-9758b08bcf9acb98db2db8a1407b5546d44f907b.zip hostap-9758b08bcf9acb98db2db8a1407b5546d44f907b.tar.gz hostap-9758b08bcf9acb98db2db8a1407b5546d44f907b.tar.bz2 |
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 <antony.king@bluwirelesstechnology.com>
Signed-off-by: Brendan Jackman <brendan.jackman@bluwirelesstechnology.com>
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index daaa484..e2ca278 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'", |