qcacld-3.0: Remove lim_teardown_infra_bss()
Function lim_teardown_infra_bss() is unused, so remove it. Change-Id: I608fe64c5e2ef25f57b85e8f8324639da71b8bfa CRs-Fixed: 2371143
This commit is contained in:
@@ -2905,36 +2905,6 @@ lim_add_sta_self(struct mac_context *mac, uint16_t staIdx, uint8_t updateSta,
|
|||||||
return retCode;
|
return retCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* limTeardownInfraBSS()
|
|
||||||
*
|
|
||||||
***FUNCTION:
|
|
||||||
* This function is called by various LIM functions to teardown
|
|
||||||
* an established Infrastructure BSS
|
|
||||||
*
|
|
||||||
***LOGIC:
|
|
||||||
*
|
|
||||||
***ASSUMPTIONS:
|
|
||||||
*
|
|
||||||
***NOTE:
|
|
||||||
*
|
|
||||||
* @param mac - Pointer to Global MAC structure
|
|
||||||
* @return None
|
|
||||||
*/
|
|
||||||
|
|
||||||
void lim_teardown_infra_bss(struct mac_context *mac, struct pe_session *pe_session)
|
|
||||||
{
|
|
||||||
tSirMacAddr bcAddr = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Send Broadcast Disassociate frame with
|
|
||||||
* 'leaving BSS' reason.
|
|
||||||
*/
|
|
||||||
lim_send_disassoc_mgmt_frame(mac,
|
|
||||||
eSIR_MAC_DISASSOC_LEAVING_BSS_REASON,
|
|
||||||
bcAddr, pe_session, false);
|
|
||||||
} /*** end lim_teardown_infra_bss() ***/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* lim_handle_cnf_wait_timeout()
|
* lim_handle_cnf_wait_timeout()
|
||||||
*
|
*
|
||||||
|
@@ -88,7 +88,6 @@ QDF_STATUS lim_del_bss(struct mac_context *, tpDphHashNode, uint16_t, struct pe_
|
|||||||
QDF_STATUS lim_del_sta(struct mac_context *, tpDphHashNode, bool, struct pe_session *);
|
QDF_STATUS lim_del_sta(struct mac_context *, tpDphHashNode, bool, struct pe_session *);
|
||||||
QDF_STATUS lim_add_sta_self(struct mac_context *, uint16_t, uint8_t, struct pe_session *);
|
QDF_STATUS lim_add_sta_self(struct mac_context *, uint16_t, uint8_t, struct pe_session *);
|
||||||
|
|
||||||
void lim_teardown_infra_bss(struct mac_context *, struct pe_session *);
|
|
||||||
#ifdef WLAN_FEATURE_HOST_ROAM
|
#ifdef WLAN_FEATURE_HOST_ROAM
|
||||||
void lim_restore_pre_reassoc_state(struct mac_context *,
|
void lim_restore_pre_reassoc_state(struct mac_context *,
|
||||||
tSirResultCodes, uint16_t, struct pe_session *);
|
tSirResultCodes, uint16_t, struct pe_session *);
|
||||||
|
Reference in New Issue
Block a user