mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
qcacld-3.0: Remove obsolete csr_flush_roam_scan_roam_channel_list
Remove obsolete csr_flush_roam_scan_roam_channel_list(). Change-Id: I535e4e5ce2c934451e0c94b4da825163138fe3b0 CRs-Fixed: 950762
This commit is contained in:
parent
515a9efb36
commit
d0bae5f2dc
2 changed files with 0 additions and 25 deletions
|
|
@ -1420,29 +1420,6 @@ QDF_STATUS csr_create_bg_scan_roam_channel_list(tpAniSirGlobal pMac,
|
|||
#endif
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
/*
|
||||
This function flushes the roam scan cache
|
||||
*/
|
||||
QDF_STATUS csr_flush_roam_scan_roam_channel_list(tpAniSirGlobal pMac,
|
||||
uint8_t sessionId)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
tpCsrNeighborRoamControlInfo pNeighborRoamInfo
|
||||
= &pMac->roam.neighborRoamInfo[sessionId];
|
||||
/* Free up the memory first (if required) */
|
||||
if (NULL !=
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
|
||||
ChannelList) {
|
||||
qdf_mem_free(pNeighborRoamInfo->roamChannelInfo.
|
||||
currentChannelListInfo.ChannelList);
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
|
||||
ChannelList = NULL;
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
|
||||
numOfChannels = 0;
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* csr_create_roam_scan_channel_list() - create roam scan channel list
|
||||
* @pMac: Global mac pointer
|
||||
|
|
|
|||
|
|
@ -2859,8 +2859,6 @@ void csr_neighbor_roam_close(tpAniSirGlobal pMac, uint8_t sessionId)
|
|||
CSR_NEIGHBOR_ROAM_INVALID_CHANNEL_INDEX;
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
|
||||
numOfChannels = 0;
|
||||
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.ChannelList =
|
||||
NULL;
|
||||
pNeighborRoamInfo->roamChannelInfo.IAPPNeighborListReceived = false;
|
||||
|
||||
/* Free the profile.. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue