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
Bu işleme şunda yer alıyor:
gaurank kathpalia
2017-12-19 13:57:48 +05:30
işlemeyi yapan: snandini
ebeveyn d021751ded
işleme 2690098b55

Dosyayı Görüntüle

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