qcacld-3.0: Replace typedef tSirHostOffloadReq
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 tSirHostOffloadReq 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: I21970981e7a128f71abdd601181c596b9b32320b CRs-Fixed: 2396064
This commit is contained in:
@@ -875,8 +875,8 @@ struct wma_txrx_node {
|
||||
uint8_t nss_2g;
|
||||
uint8_t nss_5g;
|
||||
uint8_t wep_default_key_idx;
|
||||
tSirHostOffloadReq arp_offload_req;
|
||||
tSirHostOffloadReq ns_offload_req;
|
||||
struct sir_host_offload_req arp_offload_req;
|
||||
struct sir_host_offload_req ns_offload_req;
|
||||
#ifndef QCA_SUPPORT_CP_STATS
|
||||
struct sir_vdev_wow_stats wow_stats;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user