mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Remove lim_get_bss_id_from_sme_join_req_msg()
Function lim_get_bss_id_from_sme_join_req_msg() is unused, so remove it. Change-Id: Ic1b154a2cb284512d4464821c67b08f5c168b19c CRs-Fixed: 2370784
This commit is contained in:
parent
8977d22dc7
commit
06eb8ed667
2 changed files with 0 additions and 38 deletions
|
|
@ -784,40 +784,3 @@ uint8_t lim_is_sme_stop_bss_req_valid(uint32_t *pMsg)
|
|||
|
||||
return valid;
|
||||
} /*** end lim_is_sme_stop_bss_req_valid() ***/
|
||||
|
||||
/**
|
||||
* lim_get_bss_id_from_sme_join_req_msg()
|
||||
*
|
||||
***FUNCTION:
|
||||
* This function is called in various places to get BSSID
|
||||
* from BSS description/Neighbor BSS Info in the SME_JOIN_REQ/
|
||||
* SME_REASSOC_REQ message.
|
||||
*
|
||||
***PARAMS:
|
||||
*
|
||||
***LOGIC:
|
||||
*
|
||||
***ASSUMPTIONS:
|
||||
* NA
|
||||
*
|
||||
***NOTE:
|
||||
* NA
|
||||
*
|
||||
* @param pBuf - Pointer to received SME_JOIN/SME_REASSOC_REQ
|
||||
* message
|
||||
* @return pBssId - Pointer to BSSID
|
||||
*/
|
||||
|
||||
uint8_t *lim_get_bss_id_from_sme_join_req_msg(uint8_t *pBuf)
|
||||
{
|
||||
if (!pBuf)
|
||||
return NULL;
|
||||
|
||||
pBuf += sizeof(uint32_t); /* skip message header */
|
||||
|
||||
pBuf += lim_get_u16(pBuf) + sizeof(uint16_t); /* skip RSN IE */
|
||||
|
||||
pBuf += sizeof(uint16_t); /* skip length of BSS description */
|
||||
|
||||
return pBuf;
|
||||
} /*** end lim_get_bss_id_from_sme_join_req_msg() ***/
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ uint8_t lim_is_sme_disassoc_req_valid(struct mac_context *, tpSirSmeDisassocReq,
|
|||
uint8_t lim_is_sme_deauth_req_valid(struct mac_context *, tpSirSmeDeauthReq, struct pe_session *);
|
||||
uint8_t lim_is_sme_set_context_req_valid(struct mac_context *, tpSirSmeSetContextReq);
|
||||
uint8_t lim_is_sme_stop_bss_req_valid(uint32_t *);
|
||||
uint8_t *lim_get_bss_id_from_sme_join_req_msg(uint8_t *);
|
||||
uint8_t lim_is_sme_disassoc_cnf_valid(struct mac_context *, tpSirSmeDisassocCnf,
|
||||
struct pe_session *);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue