|
@@ -1231,22 +1231,24 @@ static void sap_compute_spect_weight(tSapChSelSpectInfo *pSpectInfoParams,
|
|
|
vhtSupport = 0;
|
|
|
centerFreq = 0;
|
|
|
|
|
|
- if (pScanResult->BssDescriptor.ieFields != NULL) {
|
|
|
- ieLen = GET_IE_LEN_IN_BSS(
|
|
|
- pScanResult->BssDescriptor.length);
|
|
|
- qdf_mem_set((uint8_t *) pBeaconStruct,
|
|
|
- sizeof(tSirProbeRespBeacon), 0);
|
|
|
-
|
|
|
- if ((sir_parse_beacon_ie
|
|
|
- (pMac, pBeaconStruct, (uint8_t *)
|
|
|
- (pScanResult->BssDescriptor.ieFields),
|
|
|
- ieLen)) == eSIR_SUCCESS) {
|
|
|
- sap_upd_chan_spec_params(pBeaconStruct,
|
|
|
- &channelWidth, &secondaryChannelOffset,
|
|
|
- &vhtSupport, ¢erFreq,
|
|
|
- ¢erFreq_2);
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
+ ieLen = GET_IE_LEN_IN_BSS(
|
|
|
+ pScanResult->BssDescriptor.length);
|
|
|
+ qdf_mem_set((uint8_t *) pBeaconStruct,
|
|
|
+ sizeof(tSirProbeRespBeacon), 0);
|
|
|
+
|
|
|
+
|
|
|
+ if ((sir_parse_beacon_ie
|
|
|
+ (pMac, pBeaconStruct, (uint8_t *)
|
|
|
+ (pScanResult->BssDescriptor.ieFields),
|
|
|
+ ieLen)) == eSIR_SUCCESS)
|
|
|
+ sap_upd_chan_spec_params(
|
|
|
+ pBeaconStruct,
|
|
|
+ &channelWidth,
|
|
|
+ &secondaryChannelOffset,
|
|
|
+ &vhtSupport, ¢erFreq,
|
|
|
+ ¢erFreq_2);
|
|
|
+
|
|
|
/* Processing for each tCsrScanResultInfo in the tCsrScanResult DLink list */
|
|
|
for (chn_num = 0; chn_num < pSpectInfoParams->numSpectChans;
|
|
|
chn_num++) {
|