mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
8997: mapp: fix build error by GCC10.2
Use GCC10.2, there has build error as below log: mlan2040misc.o:(.bss+0x0): multiple definition of `leg_ap_chan_list'; mlan2040coex.o:(.bss+0x0): first defined here mlan2040misc.o:(.bss+0x64): multiple definition of `num_leg_ap_chan'; mlan2040coex.o:(.bss+0x64): first defined here Fix the build error. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
This commit is contained in:
parent
f18705756b
commit
8ac985b47a
2 changed files with 7 additions and 2 deletions
|
@ -53,6 +53,11 @@ Change log:
|
|||
/** Maximum number of total private ioctl calls supported */
|
||||
#define IW_MAX_PRIV_NUM 1024
|
||||
|
||||
/** Legacy APs channel list */
|
||||
chan_intol_t leg_ap_chan_list[WLAN_IOCTL_USER_SCAN_CHAN_MAX];
|
||||
/** Total number of channel present in Legacy APs channel list */
|
||||
t_u8 num_leg_ap_chan;
|
||||
|
||||
/********************************************************
|
||||
Local Variables
|
||||
********************************************************/
|
||||
|
|
|
@ -222,9 +222,9 @@ struct eth_priv_cmd {
|
|||
#endif
|
||||
|
||||
/** Legacy APs channel list */
|
||||
chan_intol_t leg_ap_chan_list[WLAN_IOCTL_USER_SCAN_CHAN_MAX];
|
||||
extern chan_intol_t leg_ap_chan_list[WLAN_IOCTL_USER_SCAN_CHAN_MAX];
|
||||
/** Total number of channel present in Legacy APs channel list */
|
||||
t_u8 num_leg_ap_chan;
|
||||
extern t_u8 num_leg_ap_chan;
|
||||
int get_region_code(int *reg_code);
|
||||
int process_host_cmd(int cmd, t_u8 *chan_list, t_u8 chan_num, t_u8 reg_class,
|
||||
t_u8 is_intol_ap_present);
|
||||
|
|
Loading…
Reference in a new issue