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:
Jeff Johnson
2019-02-03 10:15:46 -08:00
committed by nshrivas
szülő 2df04b8430
commit a7d5b54c7e
11 fájl változott, egészen pontosan 18 új sor hozzáadva és 18 régi sor törölve

Fájl megtekintése

@@ -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;