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
Цей коміт міститься в:
Abhishek Singh
2020-08-07 14:31:45 +05:30
зафіксовано snandini
джерело 1963965efd
коміт 99f45408a0

Переглянути файл

@@ -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;
}