aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-01-13 01:56:26 (GMT)
committerJouni Malinen <j@w1.fi>2018-01-21 09:13:01 (GMT)
commitc1790a5ff8b68492b3a9097b5d2616b1966d08db (patch)
treec90380812aecb98dffe931cf6d2507501e295abd /wpa_supplicant/config_file.c
parentc103c0b5167e52a0a4a6504c37b6279ac474c6cb (diff)
downloadhostap-c1790a5ff8b68492b3a9097b5d2616b1966d08db.zip
hostap-c1790a5ff8b68492b3a9097b5d2616b1966d08db.tar.gz
hostap-c1790a5ff8b68492b3a9097b5d2616b1966d08db.tar.bz2
OWE: Allow station in transition mode to connect to an open BSS
If the OWE network profile matches an open network which does not advertise OWE BSS, allow open connection. The new owe_only=1 network profile parameter can be used to disable this transition mode and enforce connection only with OWE networks. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
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 6b7abe2..370fe2a 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -873,6 +873,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
STR(dpp_csign);
#endif /* CONFIG_DPP */
INT(owe_group);
+ INT(owe_only);
#ifdef CONFIG_HT_OVERRIDES
INT_DEF(disable_ht, DEFAULT_DISABLE_HT);
INT_DEF(disable_ht40, DEFAULT_DISABLE_HT40);