summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-10-14 08:01:48 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-11-01 18:42:29 -0700
commitbcff3f2ae8ac436b5446319a962ba22ba182c0a1 (patch)
tree33e760fbe3dd6b55c8ff54261923f4ecb6462991
parent2ebe3cdcd7a89e88fb589d0c8efb643160aeb730 (diff)
qcacld-3.0: Remove obsolete csr_send_mb_scan_result_req()
Function csr_send_mb_scan_result_req() is obsolete and no longer being used, so remove it. Change-Id: I50832b7e84c75b085173bc24d5827b93afb1e679 CRs-Fixed: 1075575
-rw-r--r--core/sme/src/csr/csr_api_scan.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c
index 24999baabae8..1371f206925d 100644
--- a/core/sme/src/csr/csr_api_scan.c
+++ b/core/sme/src/csr/csr_api_scan.c
@@ -5149,37 +5149,6 @@ send_scan_req:
return status;
}
-QDF_STATUS csr_send_mb_scan_result_req(tpAniSirGlobal pMac,
- uint32_t sessionId,
- tScanReqParam *pScanReqParam)
-{
- QDF_STATUS status = QDF_STATUS_SUCCESS;
- tSirSmeScanReq *pMsg;
- uint16_t msgLen;
-
- msgLen = (uint16_t) (sizeof(tSirSmeScanReq));
- pMsg = qdf_mem_malloc(msgLen);
- if (NULL == pMsg)
- return QDF_STATUS_E_NOMEM;
-
- pMsg->messageType = eWNI_SME_SCAN_REQ;
- pMsg->length = msgLen;
- pMsg->sessionId = sessionId;
- pMsg->transactionId = 0;
- pMsg->returnFreshResults = pScanReqParam->freshScan;
- /* Always ask for unique result */
- pMsg->returnUniqueResults = pScanReqParam->fUniqueResult;
- pMsg->returnAfterFirstMatch =
- pScanReqParam->bReturnAfter1stMatch;
- status = cds_send_mb_message_to_mac(pMsg);
- if (!QDF_IS_STATUS_SUCCESS(status)) {
- sms_log(pMac, LOGE,
- FL("Failed to send down scan req with status = %d\n"),
- status);
- }
- return status;
-}
-
#ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR
static void csr_diag_scan_channels(tpAniSirGlobal pMac, tSmeCmd *pCommand)
{