mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Remove csr_prepare_disconnect_command()
Change I0e27d6dc72e26589b5973bd7668a1783ac132477 ("qcacld-3.0: Remove
serialization from open and close session") removed the last client of
csr_prepare_disconnect_command(). Since this is now obsolete, remove
it.
Change-Id: Ib67f580a79dfc8c29c04c375ce2a8ff1538c7552
CRs-Fixed: 2370962
This commit is contained in:
parent
75ea0e939c
commit
ea56a8bc37
2 changed files with 0 additions and 32 deletions
|
|
@ -8423,35 +8423,6 @@ QDF_STATUS csr_roam_process_disassoc_deauth(struct mac_context *mac,
|
|||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* csr_prepare_disconnect_command() - function to prepare disconnect command
|
||||
* @mac: pointer to global mac structure
|
||||
* @session_id: sme session index
|
||||
* @sme_cmd: pointer to sme command being prepared
|
||||
*
|
||||
* Function to prepare internal sme disconnect command
|
||||
* Return: QDF_STATUS_SUCCESS on success else QDF_STATUS_E_RESOURCES on failure
|
||||
*/
|
||||
|
||||
QDF_STATUS csr_prepare_disconnect_command(struct mac_context *mac,
|
||||
uint32_t session_id, tSmeCmd **sme_cmd)
|
||||
{
|
||||
tSmeCmd *command;
|
||||
|
||||
command = csr_get_command_buffer(mac);
|
||||
if (!command) {
|
||||
sme_err("fail to get command buffer");
|
||||
return QDF_STATUS_E_RESOURCES;
|
||||
}
|
||||
|
||||
command->command = eSmeCommandRoam;
|
||||
command->sessionId = (uint8_t)session_id;
|
||||
command->u.roamCmd.roamReason = eCsrForcedDisassoc;
|
||||
|
||||
*sme_cmd = command;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS csr_roam_issue_disassociate_cmd(struct mac_context *mac,
|
||||
uint32_t sessionId,
|
||||
eCsrRoamDisconnectReason reason)
|
||||
|
|
|
|||
|
|
@ -1000,9 +1000,6 @@ csr_get_bssdescr_from_scan_handle(tScanResultHandle result_handle,
|
|||
bool is_disconnect_pending(struct mac_context *mac_ctx,
|
||||
uint8_t sessionid);
|
||||
|
||||
QDF_STATUS csr_prepare_disconnect_command(struct mac_context *mac,
|
||||
uint32_t session_id, tSmeCmd **sme_cmd);
|
||||
|
||||
QDF_STATUS
|
||||
csr_roam_prepare_bss_config_from_profile(struct mac_context *mac_ctx,
|
||||
struct csr_roam_profile *profile,
|
||||
|
|
|
|||
Loading…
Reference in a new issue