qcacld-3.0: Replace typedef tSirSmeNewBssInfo
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 tSirSmeNewBssInfo typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
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: Ia0f75734e6f99f0904bf05cb48d56cdac7d35bd2
CRs-Fixed: 2395000
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 86203e1..0c47656 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
@@ -1310,7 +1310,7 @@
max_info_len = sizeof(tSirSmeApNewCaps);
break;
case eSIR_SME_JOINED_NEW_BSS:
- max_info_len = sizeof(tSirSmeNewBssInfo);
+ max_info_len = sizeof(struct new_bss_info);
break;
default:
max_info_len = sizeof(wm_status_change_ntf->statusChangeInfo);