qcacld-3.0: Fill proper AKM for WAPI

In WAPI conenction the check for WAPI authmode is missing.
And thus AKM filles in open mode leading to not seinding the WAPI
IE in assoc req and thus Assoc reject.

Fix by properly handling the WAPI case.

Change-Id: Ic7b7b7e5ffce46e30ade20395406287e1b5a5fce
CRs-Fixed: 2744415
This commit is contained in:
Abhishek Singh 2020-08-07 14:31:45 +05:30 • committed by snandini
commit 99f45408a0

View file

@ -2033,7 +2033,7 @@ static void csr_fill_auth_type(enum csr_akm_type *auth_type,
return;
}
if (QDF_HAS_PARAM(authmodeset, WLAN_CRYPTO_AUTH_SHARED)) {
if (QDF_HAS_PARAM(authmodeset, WLAN_CRYPTO_AUTH_WAPI)) {
csr_fill_wapi_auth_type(auth_type, akm);
return;
}