|
@@ -70,7 +70,7 @@
|
|
*
|
|
*
|
|
* @return None
|
|
* @return None
|
|
*/
|
|
*/
|
|
-QDF_STATUS
|
|
|
|
|
|
+void
|
|
lim_collect_bss_description(tpAniSirGlobal pMac,
|
|
lim_collect_bss_description(tpAniSirGlobal pMac,
|
|
tSirBssDescription *pBssDescr,
|
|
tSirBssDescription *pBssDescr,
|
|
tpSirProbeRespBeacon pBPR,
|
|
tpSirProbeRespBeacon pBPR,
|
|
@@ -88,7 +88,7 @@ lim_collect_bss_description(tpAniSirGlobal pMac,
|
|
if (SIR_MAC_B_PR_SSID_OFFSET > WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo)) {
|
|
if (SIR_MAC_B_PR_SSID_OFFSET > WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo)) {
|
|
QDF_ASSERT(WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo) >=
|
|
QDF_ASSERT(WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo) >=
|
|
SIR_MAC_B_PR_SSID_OFFSET);
|
|
SIR_MAC_B_PR_SSID_OFFSET);
|
|
- return QDF_STATUS_E_FAILURE;
|
|
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
ieLen =
|
|
ieLen =
|
|
WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo) - SIR_MAC_B_PR_SSID_OFFSET;
|
|
WMA_GET_RX_PAYLOAD_LEN(pRxPacketInfo) - SIR_MAC_B_PR_SSID_OFFSET;
|
|
@@ -229,7 +229,7 @@ lim_collect_bss_description(tpAniSirGlobal pMac,
|
|
FL("Collected BSS Description for Channel(%1d), length(%u), IE Fields(%u)"),
|
|
FL("Collected BSS Description for Channel(%1d), length(%u), IE Fields(%u)"),
|
|
pBssDescr->channelId, pBssDescr->length, ieLen);
|
|
pBssDescr->channelId, pBssDescr->length, ieLen);
|
|
|
|
|
|
- return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
+ return;
|
|
} /*** end lim_collect_bss_description() ***/
|
|
} /*** end lim_collect_bss_description() ***/
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -389,10 +389,8 @@ lim_check_and_add_bss_description(tpAniSirGlobal mac_ctx,
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
/* In scan state, store scan result. */
|
|
/* In scan state, store scan result. */
|
|
- status = lim_collect_bss_description(mac_ctx, bssdescr,
|
|
|
|
- bpr, rx_packet_info, scanning);
|
|
|
|
- if (QDF_STATUS_SUCCESS != status)
|
|
|
|
- goto last;
|
|
|
|
|
|
+ lim_collect_bss_description(mac_ctx, bssdescr, bpr, rx_packet_info,
|
|
|
|
+ scanning);
|
|
bssdescr->fProbeRsp = fProbeRsp;
|
|
bssdescr->fProbeRsp = fProbeRsp;
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -406,8 +404,6 @@ lim_check_and_add_bss_description(tpAniSirGlobal mac_ctx,
|
|
FL("No CSR callback routine to send beacons"));
|
|
FL("No CSR callback routine to send beacons"));
|
|
status = QDF_STATUS_E_INVAL;
|
|
status = QDF_STATUS_E_INVAL;
|
|
}
|
|
}
|
|
-last:
|
|
|
|
qdf_mem_free(bssdescr);
|
|
qdf_mem_free(bssdescr);
|
|
- return;
|
|
|
|
}
|
|
}
|
|
|
|
|