فهرست منبع

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