mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
qcacld-3.0: Replace typedef t_multicast_add_list
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 t_multicast_add_list typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: Ic70b2e2c716963b0f267bae86961cbf973246b24 CRs-Fixed: 2119523
This commit is contained in:
parent
44e5217218
commit
673fd5b80a
1 changed files with 3 additions and 3 deletions
|
|
@ -987,11 +987,11 @@ struct hdd_scan_info {
|
|||
#define WLAN_HDD_MAX_MC_ADDR_LIST CFG_TGT_MAX_MULTICAST_FILTER_ENTRIES
|
||||
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
typedef struct multicast_addr_list {
|
||||
struct hdd_multicast_addr_list {
|
||||
uint8_t isFilterApplied;
|
||||
uint8_t mc_cnt;
|
||||
uint8_t addr[WLAN_HDD_MAX_MC_ADDR_LIST][ETH_ALEN];
|
||||
} t_multicast_add_list;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define WLAN_HDD_MAX_HISTORY_ENTRY 10
|
||||
|
|
@ -1226,7 +1226,7 @@ struct hdd_adapter {
|
|||
hdd_cfg80211_state_t cfg80211State;
|
||||
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
t_multicast_add_list mc_addr_list;
|
||||
struct hdd_multicast_addr_list mc_addr_list;
|
||||
#endif
|
||||
uint8_t addr_filter_pattern;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue