nl80211: Fix auth_alg selection with FILS in the connect command
NL80211_ATTR_AUTH_TYPE needs to be skipped if multiple auth_alg options are included. The previous list missed the new FILS auth_alg here and ended up not doing so if OPEN and FILS were included. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
7475e80f14
commit
64a0a75b5b
1 changed files with 2 additions and 0 deletions
|
@ -5394,6 +5394,8 @@ static int wpa_driver_nl80211_try_connect(
|
||||||
algs++;
|
algs++;
|
||||||
if (params->auth_alg & WPA_AUTH_ALG_LEAP)
|
if (params->auth_alg & WPA_AUTH_ALG_LEAP)
|
||||||
algs++;
|
algs++;
|
||||||
|
if (params->auth_alg & WPA_AUTH_ALG_FILS)
|
||||||
|
algs++;
|
||||||
if (algs > 1) {
|
if (algs > 1) {
|
||||||
wpa_printf(MSG_DEBUG, " * Leave out Auth Type for automatic "
|
wpa_printf(MSG_DEBUG, " * Leave out Auth Type for automatic "
|
||||||
"selection");
|
"selection");
|
||||||
|
|
Loading…
Reference in a new issue