qcacld-3.0: Converge on struct mac_tspec_ie
The driver currently defines two different data structures to hold
a TSpec IE field:
- tSirMacTspecIE
- struct mac_tspec_ie
In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.
Change-Id: I2e9da1d72dae3c4b0baa13306ee7ec127895a4f2
CRs-Fixed: 2371911
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 f1f021b..96ecec1 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
@@ -1428,8 +1428,9 @@
\sa
----------------------------------------------------------------- */
void
-lim_send_sme_addts_rsp(struct mac_context *mac, uint8_t rspReqd, uint32_t status,
- struct pe_session *pe_session, tSirMacTspecIE tspec,
+lim_send_sme_addts_rsp(struct mac_context *mac, uint8_t rspReqd,
+ uint32_t status,
+ struct pe_session *pe_session, struct mac_tspec_ie tspec,
uint8_t smesessionId, uint16_t smetransactionId)
{
tpSirAddtsRsp rsp;