From 7318367ba7170b024693abfdd87f55eb04303cf2 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 22 Feb 2019 11:53:12 -0800 Subject: [PATCH] qcacld-3.0: Remove transaction_id from tdls_send_mgmt_request The transaction_id in struct tdls_send_mgmt_request is unused, so remove it. Change-Id: Id06d6883a34d8becbb0040464e0abaecfbfd3b92 CRs-Fixed: 2404153 --- components/tdls/core/src/wlan_tdls_mgmt.c | 4 ---- components/tdls/dispatcher/inc/wlan_tdls_public_structs.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/components/tdls/core/src/wlan_tdls_mgmt.c b/components/tdls/core/src/wlan_tdls_mgmt.c index 70f552e50435..a19984defdfc 100644 --- a/components/tdls/core/src/wlan_tdls_mgmt.c +++ b/components/tdls/core/src/wlan_tdls_mgmt.c @@ -267,10 +267,6 @@ static QDF_STATUS tdls_activate_send_mgmt_request( action_req->tdls_mgmt.peer_capability); tdls_mgmt_req->session_id = action_req->session_id; - /* Using dialog as transactionId. This can be used to - * match response with request - */ - tdls_mgmt_req->transaction_id = action_req->tdls_mgmt.dialog; tdls_mgmt_req->req_type = action_req->tdls_mgmt.frame_type; tdls_mgmt_req->dialog = action_req->tdls_mgmt.dialog; tdls_mgmt_req->status_code = action_req->tdls_mgmt.status_code; diff --git a/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h b/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h index d8a3814662ea..c2588c8600b2 100644 --- a/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h +++ b/components/tdls/dispatcher/inc/wlan_tdls_public_structs.h @@ -1218,7 +1218,6 @@ struct tdls_del_sta_rsp { * @message_type: type of pe message * @length: length of the frame. * @session_id: session id - * @transaction_id: transaction ID for cmd * @req_type: type of action frame * @dialog: dialog token used in the frame. * @status_code: status to be incuded in the frame. @@ -1232,7 +1231,6 @@ struct tdls_send_mgmt_request { uint16_t message_type; uint16_t length; uint8_t session_id; - uint16_t transaction_id; uint8_t req_type; uint8_t dialog; uint16_t status_code;