qcacld-3.0: Replace typedef tSirSmeChanInfo
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 tSirSmeChanInfo 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, as well as to be more specific on how the struct is used. Change-Id: Ic9a596d05a7c4c0727264c33e865edd4a9786dac CRs-Fixed: 2394998
This commit is contained in:
@@ -267,7 +267,7 @@ typedef struct sap_StationAssocReassocCompleteEvent_s {
|
||||
uint32_t statusCode;
|
||||
bool wmmEnabled;
|
||||
uint8_t timingMeasCap;
|
||||
tSirSmeChanInfo chan_info;
|
||||
struct oem_channel_info chan_info;
|
||||
bool ampdu;
|
||||
bool sgi_enable;
|
||||
bool tx_stbc;
|
||||
|
Reference in New Issue
Block a user