qcacld-3.0: Replace typedef tSirSmeHTProfile
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirSmeHTProfile typedef does
not meet any of those criteria, so replace it with a reference to the
underlying struct.
Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.
Change-Id: I3686dbfadfc144d06267e6162c5642aa61a894fd
CRs-Fixed: 2393734
diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c
index 66f60bc..bec10d8 100644
--- a/core/mac/src/pe/lim/lim_api.c
+++ b/core/mac/src/pe/lim/lim_api.c
@@ -1885,9 +1885,10 @@
*
* Return: None
*/
-void lim_fill_join_rsp_ht_caps(struct pe_session *session, tpSirSmeJoinRsp join_rsp)
+void lim_fill_join_rsp_ht_caps(struct pe_session *session,
+ tpSirSmeJoinRsp join_rsp)
{
- tSirSmeHTProfile *ht_profile;
+ struct ht_profile *ht_profile;
if (session == NULL) {
pe_err("Invalid Session");
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 08e0eb6..0ffbd88 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
@@ -211,7 +211,7 @@
tpSirSmeJoinReq join_reassoc_req = NULL;
#ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH
- tSirSmeHTProfile *ht_profile;
+ struct ht_profile *ht_profile;
#endif
if (result_code == eSIR_SME_SUCCESS) {
if (session_entry->beacon != NULL) {