summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2015-12-16 18:05:21 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-04-17 18:07:39 -0700
commitd0bae5f2dcb72c6e9722260f5bba60dcf368cb13 (patch)
tree06e2095489f628a68274ecf72799acaf1039215b
parent515a9efb36304cf20cf1247698da24a18cb8de8f (diff)
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
-rw-r--r--core/sme/src/csr/csr_api_roam.c23
-rw-r--r--core/sme/src/csr/csr_neighbor_roam.c2
2 files changed, 0 insertions, 25 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index 02912198b717..b877c2e9d007 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -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
diff --git a/core/sme/src/csr/csr_neighbor_roam.c b/core/sme/src/csr/csr_neighbor_roam.c
index a26ae1fd1e7e..a53ac928c504 100644
--- a/core/sme/src/csr/csr_neighbor_roam.c
+++ b/core/sme/src/csr/csr_neighbor_roam.c
@@ -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.. */