浏览代码

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 4 年之前
父节点
当前提交
99f45408a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/sme/src/csr/csr_api_scan.c

+ 1 - 1
core/sme/src/csr/csr_api_scan.c

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