Просмотр исходного кода

qcacld-3.0: Fix condition to ignore security in scan filter

In api csr_prepare_scan_filter,If bWPSAssociation is set or
bOSENAssociation is set, the security check  while filtering
scan results need to be skipped.

Fix is to check for both bWPSAssociation and bOSENAssociation
to set the ignore security flag in converged scan filter

Change-Id: I1e850581ab1cd3b313e681bfd110280765fa6a2a
CRs-Fixed: 2161103
gaurank kathpalia 7 лет назад
Родитель
Сommit
2690098b55
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/sme/src/csr/csr_api_scan.c

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

@@ -5281,7 +5281,7 @@ static QDF_STATUS csr_prepare_scan_filter(tpAniSirGlobal mac_ctx,
 	qdf_mem_copy(filter->country,
 		pFilter->countryCode, WNI_CFG_COUNTRY_CODE_LEN);
 
-	if (pFilter->bWPSAssociation || pFilter->bWPSAssociation)
+	if (pFilter->bWPSAssociation || pFilter->bOSENAssociation)
 		filter->ignore_auth_enc_type = true;
 
 	filter->rrm_measurement_filter = pFilter->fMeasurement;