qcacld-3.0: Remove transactionId from deauth_ind
The transactionId in struct deauth_ind is unused, so remove it.
Change-Id: Icb138510b6e3e2cdbc9929d6c317237c7558c4b2
CRs-Fixed: 2403171
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 47ddf88..b9154b6 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -895,7 +895,6 @@
pSirSmeDeauthInd->length = sizeof(*pSirSmeDeauthInd);
pSirSmeDeauthInd->sessionId = pe_session->smeSessionId;
- pSirSmeDeauthInd->transactionId = pe_session->transactionId;
if (eSIR_INFRA_AP_MODE == pe_session->bssType) {
pSirSmeDeauthInd->statusCode =
(tSirResultCodes) sta->mlmStaContext.cleanupTrigger;
@@ -1061,38 +1060,9 @@
return QDF_STATUS_SUCCESS;
}
-/**
- * lim_send_sme_deauth_ntf()
- *
- ***FUNCTION:
- * This function is called by limProcessSmeMessages() to send
- * eWNI_SME_DISASSOC_RSP/IND message to host
- *
- ***PARAMS:
- *
- ***LOGIC:
- *
- ***ASSUMPTIONS:
- * NA
- *
- ***NOTE:
- * This function is used for sending eWNI_SME_DEAUTH_CNF or
- * eWNI_SME_DEAUTH_IND to host depending on deauthentication trigger.
- *
- * @param peerMacAddr Indicates the peer MAC addr to which
- * deauthentication was initiated
- * @param reasonCode Indicates the reason for Deauthetication
- * @param deauthTrigger Indicates the trigger for Deauthetication
- * @param aid Indicates the STAID. This parameter is present
- * only on AP.
- *
- * @return None
- */
-void
-lim_send_sme_deauth_ntf(struct mac_context *mac, tSirMacAddr peerMacAddr,
- tSirResultCodes reasonCode, uint16_t deauthTrigger,
- uint16_t aid, uint8_t smesessionId,
- uint16_t smetransactionId)
+void lim_send_sme_deauth_ntf(struct mac_context *mac, tSirMacAddr peerMacAddr,
+ tSirResultCodes reasonCode, uint16_t deauthTrigger,
+ uint16_t aid, uint8_t smesessionId)
{
uint8_t *pBuf;
struct deauth_rsp *pSirSmeDeauthRsp;
@@ -1157,7 +1127,6 @@
pSirSmeDeauthInd->length = sizeof(*pSirSmeDeauthInd);
pSirSmeDeauthInd->reasonCode = eSIR_MAC_UNSPEC_FAILURE_REASON;
pSirSmeDeauthInd->sessionId = smesessionId;
- pSirSmeDeauthInd->transactionId = smetransactionId;
pSirSmeDeauthInd->statusCode = reasonCode;
qdf_mem_copy(pSirSmeDeauthInd->bssid.bytes, pe_session->bssId,
sizeof(tSirMacAddr));