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:
Jeff Johnson 2017-09-30 16:44:56 -07:00
commit 673fd5b80a

View file

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