mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Remove transaction_id from tdls_send_mgmt_rsp
The transaction_id in struct tdls_send_mgmt_rsp is unused, so remove it. Also remove the comment that implies this struct has the same structure as tSirSmeRsp since it does not. Change-Id: I79cf0b2051b232635f37808155ddbd6438a40658 CRs-Fixed: 2404152
This commit is contained in:
parent
2b2a5509ec
commit
8ef5a3b3e1
2 changed files with 3 additions and 10 deletions
|
|
@ -1152,15 +1152,12 @@ enum legacy_result_code {
|
|||
|
||||
/**
|
||||
* struct tdls_send_mgmt_rsp - TDLS Response struct PE --> TDLS module
|
||||
* same as struct tSirSmeRsp
|
||||
* @session_id: session id
|
||||
* @transaction_id: transaction id
|
||||
* @status_code: status code as tSirResultCodes
|
||||
* @psoc: soc object
|
||||
*/
|
||||
struct tdls_send_mgmt_rsp {
|
||||
uint8_t session_id;
|
||||
uint16_t transaction_id;
|
||||
enum legacy_result_code status_code;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2759,8 +2759,7 @@ add_sta_error:
|
|||
|
||||
static void
|
||||
lim_send_tdls_comp_mgmt_rsp(struct mac_context *mac_ctx, uint16_t msg_type,
|
||||
tSirResultCodes result_code, uint8_t sme_session_id,
|
||||
uint16_t sme_transaction_id)
|
||||
tSirResultCodes result_code, uint8_t sme_session_id)
|
||||
{
|
||||
struct scheduler_msg msg = {0};
|
||||
struct tdls_send_mgmt_rsp *sme_rsp;
|
||||
|
|
@ -2774,12 +2773,10 @@ lim_send_tdls_comp_mgmt_rsp(struct mac_context *mac_ctx, uint16_t msg_type,
|
|||
return;
|
||||
|
||||
sme_rsp->status_code = (enum legacy_result_code)result_code;
|
||||
|
||||
sme_rsp->session_id = sme_session_id;
|
||||
sme_rsp->transaction_id = sme_transaction_id;
|
||||
sme_rsp->psoc = mac_ctx->psoc;
|
||||
|
||||
msg.type = msg_type;
|
||||
sme_rsp->psoc = mac_ctx->psoc;
|
||||
msg.bodyptr = sme_rsp;
|
||||
msg.callback = tgt_tdls_send_mgmt_rsp;
|
||||
status = scheduler_post_message(QDF_MODULE_ID_PE,
|
||||
|
|
@ -2914,8 +2911,7 @@ QDF_STATUS lim_process_sme_tdls_mgmt_send_req(struct mac_context *mac_ctx,
|
|||
|
||||
lim_tdls_send_mgmt_error:
|
||||
lim_send_tdls_comp_mgmt_rsp(mac_ctx, eWNI_SME_TDLS_SEND_MGMT_RSP,
|
||||
result_code, send_req->session_id,
|
||||
send_req->transaction_id);
|
||||
result_code, send_req->session_id);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue