]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Do not set auth_alg=OPEN for PSK+SAE case
authorJouni Malinen <jouni@codeaurora.org>
Tue, 10 Mar 2020 18:48:15 +0000 (20:48 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Mar 2020 18:48:15 +0000 (20:48 +0200)
commit52efde2aaa3f40808a7a179ce7b61b365bce2c4c
treec027fa2ae5ef8f6b4dcd760410d472ddca1ed440
parent60b06d8750ee3547e51d78ae47100e6d3ecbb435
WPS: Do not set auth_alg=OPEN for PSK+SAE case

When wps_cred_add_sae=1 is used, WPS_AUTH_WPA2PSK credential gets
converted to enabling both PSK and SAE AKMs. However, this case was
still hardcoded auth_alg=OPEN which is not really correct for SAE. While
the SME-in-wpa_supplicant case can handle that, the SME-in-driver case
might not. Remove the unnecessary auth_alg=OPEN configuration to get the
normal PSK+SAE configuration enabled for the network profile.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/wps_supplicant.c