qcacld-3.0: Replace typedef tSirSupportedRates
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 tSirSupportedRates 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: I5007379a50223b6de85830e7ae389e65cdb8e4d3 CRs-Fixed: 2392398
This commit is contained in:
@@ -320,7 +320,7 @@ typedef struct sap_AssocMacAddr_s {
|
||||
uint8_t ShortGI40Mhz;
|
||||
uint8_t ShortGI20Mhz;
|
||||
uint8_t Support40Mhz;
|
||||
tSirSupportedRates supportedRates;
|
||||
struct supported_rates supportedRates;
|
||||
} tSap_AssocMacAddr, *tpSap_AssocMacAddr;
|
||||
|
||||
/*struct corresponding to SAP_ASSOC_STA_CALLBACK_EVENT */
|
||||
|
Reference in New Issue
Block a user