qcacld-3.0: Replace typedef fw_log_info
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 fw_log_info typedef does not meet any of those criteria, so replace it with a struct. Change-Id: I4ec73e046f2439c094cb6d05a99d883241c7fe20 CRs-Fixed: 2119521
This commit is contained in:

gecommit door
snandini

bovenliggende
d5ba8a632e
commit
dadef1a675
@@ -1375,7 +1375,7 @@ struct hdd_priv_data {
|
||||
};
|
||||
|
||||
#define MAX_MOD_LOGLEVEL 10
|
||||
typedef struct {
|
||||
struct fw_log_info {
|
||||
uint8_t enable;
|
||||
uint8_t dl_type;
|
||||
uint8_t dl_report;
|
||||
@@ -1383,7 +1383,7 @@ typedef struct {
|
||||
uint8_t index;
|
||||
uint32_t dl_mod_loglevel[MAX_MOD_LOGLEVEL];
|
||||
|
||||
} fw_log_info;
|
||||
};
|
||||
|
||||
/**
|
||||
* enum antenna_mode - number of TX/RX chains
|
||||
@@ -1692,7 +1692,7 @@ struct hdd_context {
|
||||
#ifdef FEATURE_GREEN_AP
|
||||
struct hdd_green_ap_ctx *green_ap_ctx;
|
||||
#endif
|
||||
fw_log_info fw_log_settings;
|
||||
struct fw_log_info fw_log_settings;
|
||||
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
|
||||
qdf_mc_timer_t skip_acs_scan_timer;
|
||||
uint8_t skip_acs_scan_status;
|
||||
|
Verwijs in nieuw issue
Block a user