qcacld-3.0: Remove obsolete lim_is_scan_requested_ssid()

We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. One such issue is
function lim_is_scan_requested_ssid() is defined but unused.  Delete
this unused function.

Change-Id: I52137b0a1e85d73f7567772228eb6994f9d16143
CRs-Fixed: 1075090
This commit is contained in:
Jeff Johnson
2016-10-07 07:29:46 -07:00
committed by Prakash Dhavali
parent 7ba11b8b67
commit 1261c91ebc

View File

@@ -232,47 +232,6 @@ lim_collect_bss_description(tpAniSirGlobal pMac,
return; return;
} /*** end lim_collect_bss_description() ***/ } /*** end lim_collect_bss_description() ***/
/**
* lim_is_scan_requested_ssid()
*
***FUNCTION:
* This function is called during scan upon receiving
* Beacon/Probe Response frame to check if the received
* SSID is present in the list of requested SSIDs in scan
*
***LOGIC:
*
***ASSUMPTIONS:
* NA
*
***NOTE:
* NA
*
* @param pMac - Pointer to Global MAC structure
* @param ssId - SSID Received in beacons/Probe responses that is compared
* against therequeusted SSID in scan list
* ---------------------------------------------
*
* @return bool - true if SSID is present in requested list, false otherwise
*/
bool lim_is_scan_requested_ssid(tpAniSirGlobal pMac, tSirMacSSid *ssId)
{
uint8_t i = 0;
for (i = 0; i < pMac->lim.gpLimMlmScanReq->numSsid; i++) {
if (!qdf_mem_cmp((uint8_t *) ssId,
(uint8_t *) &pMac->lim.
gpLimMlmScanReq->ssId[i],
(uint8_t) (pMac->lim.
gpLimMlmScanReq->ssId[i].
length + 1))) {
return true;
}
}
return false;
}
/** /**
* lim_check_and_add_bss_description() * lim_check_and_add_bss_description()
* @mac_ctx: Pointer to Global MAC structure * @mac_ctx: Pointer to Global MAC structure