mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-14 11:05:34 +00:00
MA-20217 Remove redefinition of typedef mlan_adapter and pmlan_adapter
Fix below build warnings: nxp-mwifiex/mxm_wifiex/wlan_src/mlan/mlan_main.h:2794:3: warning: redefinition of typedef 'mlan_adapter' is a C11 feature [-Wtypedef-redefinition] } mlan_adapter, *pmlan_adapter; ^ nxp-mwifiex/mxm_wifiex/wlan_src/mlan/mlan_main.h:2249:30: note: previous definition is here typedef struct _mlan_adapter mlan_adapter, *pmlan_adapter; ^ nxp-mwifiex/mxm_wifiex/wlan_src/mlan/mlan_main.h:2794:18: warning: redefinition of typedef 'pmlan_adapter' is a C11 feature [-Wtypedef-redefinition] } mlan_adapter, *pmlan_adapter; ^ nxp-mwifiex/mxm_wifiex/wlan_src/mlan/mlan_main.h:2249:45: note: previous definition is here typedef struct _mlan_adapter mlan_adapter, *pmlan_adapter; Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
This commit is contained in:
parent
a8ad85af5b
commit
58e49e28b1
1 changed files with 2 additions and 2 deletions
|
@ -2287,7 +2287,7 @@ typedef struct _adapter_operations {
|
|||
} mlan_adapter_operations;
|
||||
|
||||
/** Adapter data structure for MLAN */
|
||||
typedef struct _mlan_adapter {
|
||||
struct _mlan_adapter {
|
||||
/** MOAL handle structure */
|
||||
t_void *pmoal_handle;
|
||||
/** BSS Attributes */
|
||||
|
@ -2791,7 +2791,7 @@ typedef struct _mlan_adapter {
|
|||
t_u32 tp_state_on;
|
||||
/** Packet drop point */
|
||||
t_u32 tp_state_drop_point;
|
||||
} mlan_adapter, *pmlan_adapter;
|
||||
};
|
||||
|
||||
/** Check if stream 2X2 enabled */
|
||||
#define IS_STREAM_2X2(x) ((x)&FEATURE_CTRL_STREAM_2X2)
|
||||
|
|
Loading…
Reference in a new issue