Browse Source

qcacld-3.0: Remove transactionId from deauth_req

The transactionId in struct deauth_req is unused, so remove it.

Change-Id: I5e455c1003addf6bc8a3a9cedb0b8def6464513b
CRs-Fixed: 2403179
Jeff Johnson 6 years ago
parent
commit
b5141adae1

+ 0 - 1
core/mac/inc/sir_api.h

@@ -1293,7 +1293,6 @@ struct deauth_req {
 	uint16_t messageType;   /* eWNI_SME_DEAUTH_REQ */
 	uint16_t length;
 	uint8_t sessionId;      /* Session ID */
-	uint16_t transactionId; /* Transaction ID for cmd */
 	struct qdf_mac_addr bssid;      /* AP BSSID */
 	struct qdf_mac_addr peer_macaddr;
 	uint16_t reasonCode;

+ 0 - 4
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -2368,11 +2368,9 @@ static void __lim_process_sme_deauth_req(struct mac_context *mac_ctx,
 	struct pe_session *session_entry;
 	uint8_t session_id;      /* PE sessionId */
 	uint8_t sme_session_id;
-	uint16_t sme_transaction_id;
 
 	qdf_mem_copy(&sme_deauth_req, msg_buf, sizeof(sme_deauth_req));
 	sme_session_id = sme_deauth_req.sessionId;
-	sme_transaction_id = sme_deauth_req.transactionId;
 
 	/*
 	 * We need to get a session first but we don't even know
@@ -2407,9 +2405,7 @@ static void __lim_process_sme_deauth_req(struct mac_context *mac_ctx,
 			session_entry, 0, sme_deauth_req.reasonCode);
 #endif /* FEATURE_WLAN_DIAG_SUPPORT */
 
-	/* Update SME session ID and Transaction ID */
 	session_entry->smeSessionId = sme_session_id;
-	session_entry->transactionId = sme_transaction_id;
 
 	switch (GET_LIM_SYSTEM_ROLE(session_entry)) {
 	case eLIM_STA_ROLE:

+ 0 - 1
core/sme/src/csr/csr_api_roam.c

@@ -15648,7 +15648,6 @@ QDF_STATUS csr_send_mb_deauth_req_msg(struct mac_context *mac,
 	pMsg->messageType = eWNI_SME_DEAUTH_REQ;
 	pMsg->length = sizeof(*pMsg);
 	pMsg->sessionId = sessionId;
-	pMsg->transactionId = 0;
 
 	if ((pSession->pCurRoamProfile != NULL)
 	     && (CSR_IS_INFRA_AP(pSession->pCurRoamProfile))) {