mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Remove lim_remove_pbc_sessions()
Change Ia95c4911600a45d1004b9e6148b1b04f414e2475 ("qcacld-3.0: Remove
support for eWNI_SME_GET_WPSPBC_SESSION_REQ") removed the last client
of lim_remove_pbc_sessions(). Since the function is now obsolete,
remove it.
Change-Id: Icacb3f2d2097d3f9866251740855770b86ec19bf
CRs-Fixed: 2371093
This commit is contained in:
parent
dfa0356bc4
commit
627ca6ab31
2 changed files with 0 additions and 31 deletions
|
|
@ -129,34 +129,6 @@ static void lim_remove_timeout_pbc_sessions(struct mac_context *mac,
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* lim_remove_pbc_sessions() - Remove PBC sessions
|
||||
* @mac: Pointer to Global MAC structure
|
||||
* @remove_mac: MAC Address of STA in WPS Session to be removed
|
||||
* @session_entry: session entry
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void lim_remove_pbc_sessions(struct mac_context *mac, struct qdf_mac_addr remove_mac,
|
||||
struct pe_session *session_entry)
|
||||
{
|
||||
tSirWPSPBCSession *pbc, *prev = NULL;
|
||||
|
||||
prev = pbc = session_entry->pAPWPSPBCSession;
|
||||
|
||||
while (pbc) {
|
||||
if (qdf_is_macaddr_equal(&pbc->addr, &remove_mac)) {
|
||||
prev->next = pbc->next;
|
||||
if (pbc == session_entry->pAPWPSPBCSession)
|
||||
session_entry->pAPWPSPBCSession = pbc->next;
|
||||
qdf_mem_free(pbc);
|
||||
return;
|
||||
}
|
||||
prev = pbc;
|
||||
pbc = pbc->next;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* lim_update_pbc_session_entry
|
||||
*
|
||||
|
|
|
|||
|
|
@ -928,9 +928,6 @@ void lim_get_wpspbc_sessions(struct mac_context *mac, struct qdf_mac_addr addr,
|
|||
struct pe_session *pe_session);
|
||||
void limWPSPBCTimeout(struct mac_context *mac, struct pe_session *pe_session);
|
||||
void lim_wpspbc_close(struct mac_context *mac, struct pe_session *pe_session);
|
||||
void lim_remove_pbc_sessions(struct mac_context *mac,
|
||||
struct qdf_mac_addr pRemoveMac,
|
||||
struct pe_session *pe_session);
|
||||
|
||||
#define LIM_WPS_OVERLAP_TIMER_MS 10000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue