mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Remove csr_roam_get_associated_stas()
Change I55b6604b17c736d513dc9baf9045fb634ed7a19d ("qcacld-3.0:
Remove sme_roam_get_associated_stas()") removed the only client of
csr_roam_get_associated_stas(). Since this function is now obsolete,
remove it.
Change-Id: I8beb48c378e532c27f317d946bdf58b2aa512c14
CRs-Fixed: 2370965
This commit is contained in:
parent
3dcc43631b
commit
51d51f2db5
2 changed files with 0 additions and 48 deletions
|
|
@ -3811,37 +3811,6 @@ QDF_STATUS csr_roam_issue_deauth_sta_cmd(struct mac_context *mac,
|
|||
return status;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
csr_roam_get_associated_stas(struct mac_context *mac, uint32_t sessionId,
|
||||
QDF_MODULE_ID modId, void *pUsrContext,
|
||||
void *pfnSapEventCallback, uint8_t *pAssocStasBuf)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
struct qdf_mac_addr bssId = QDF_MAC_ADDR_BCAST_INIT;
|
||||
struct csr_roam_session *pSession = CSR_GET_SESSION(mac, sessionId);
|
||||
|
||||
if (!pSession) {
|
||||
sme_err("CSR Session not found");
|
||||
return status;
|
||||
}
|
||||
if (pSession->pConnectBssDesc) {
|
||||
qdf_mem_copy(bssId.bytes, pSession->pConnectBssDesc->bssId,
|
||||
sizeof(struct qdf_mac_addr));
|
||||
} else {
|
||||
sme_err("Connected BSS Description in CSR Session not found");
|
||||
return status;
|
||||
}
|
||||
sme_debug("CSR getting associated stations for Bssid: " MAC_ADDRESS_STR,
|
||||
MAC_ADDR_ARRAY(bssId.bytes));
|
||||
status =
|
||||
csr_send_mb_get_associated_stas_req_msg(mac, sessionId, modId,
|
||||
bssId,
|
||||
pUsrContext,
|
||||
pfnSapEventCallback,
|
||||
pAssocStasBuf);
|
||||
return status;
|
||||
}
|
||||
|
||||
static
|
||||
QDF_STATUS csr_roam_issue_deauth(struct mac_context *mac, uint32_t sessionId,
|
||||
enum csr_roam_substate NewSubstate)
|
||||
|
|
|
|||
|
|
@ -876,23 +876,6 @@ QDF_STATUS csr_roam_issue_deauth_sta_cmd(struct mac_context *mac,
|
|||
uint32_t sessionId,
|
||||
struct csr_del_sta_params *pDelStaParams);
|
||||
|
||||
/*
|
||||
* csr_roam_get_associated_stas
|
||||
* csr function that HDD calls to get list of associated stations based on
|
||||
* module ID
|
||||
* sessionId - session Id for Soft AP
|
||||
* modId - module ID - PE/HAL/TL
|
||||
* pUsrContext - Opaque HDD context
|
||||
* pfnSapEventCallback - Sap event callback in HDD
|
||||
* pAssocStasBuf - Caller allocated memory to be filled with associatd
|
||||
* stations info
|
||||
* Return QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS csr_roam_get_associated_stas(struct mac_context *mac, uint32_t sessionId,
|
||||
QDF_MODULE_ID modId, void *pUsrContext,
|
||||
void *pfnSapEventCallback,
|
||||
uint8_t *pAssocStasBuf);
|
||||
|
||||
QDF_STATUS csr_send_mb_get_associated_stas_req_msg(struct mac_context *mac,
|
||||
uint32_t sessionId,
|
||||
QDF_MODULE_ID modId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue