mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-14 19:15:35 +00:00
mxm_wifiex: fix the 17299.p1 wifi driver build warning
Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Approved-by: Tian Yang <yang.tian@nxp.com>
This commit is contained in:
parent
59094f8640
commit
b5d77e961f
2 changed files with 1 additions and 1 deletions
|
@ -342,6 +342,7 @@ endif
|
||||||
#ccflags-y += -Wstringop-truncation
|
#ccflags-y += -Wstringop-truncation
|
||||||
#ccflags-y += -Wmisleading-indentation
|
#ccflags-y += -Wmisleading-indentation
|
||||||
#ccflags-y += -Wunused-const-variable
|
#ccflags-y += -Wunused-const-variable
|
||||||
|
ccflags-y += -Wno-stringop-truncation
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Make Targets
|
# Make Targets
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
|
@ -2772,7 +2772,6 @@ static int woal_cfg80211_subcmd_link_statistic_get(struct wiphy *wiphy,
|
||||||
t_u32 num_radio = 0, iface_stat_len = 0, radio_stat_len = 0;
|
t_u32 num_radio = 0, iface_stat_len = 0, radio_stat_len = 0;
|
||||||
int err = -1, length = 0, i;
|
int err = -1, length = 0, i;
|
||||||
char *ioctl_link_stats_buf = NULL;
|
char *ioctl_link_stats_buf = NULL;
|
||||||
mlan_ds_get_stats stats;
|
|
||||||
t_u64 cur_time = 0;
|
t_u64 cur_time = 0;
|
||||||
t_u64 inter_msec = 0;
|
t_u64 inter_msec = 0;
|
||||||
t_u64 max_msec = (t_u64)24 * (t_u64)24 * (t_u64)3600 * (t_u64)1000;
|
t_u64 max_msec = (t_u64)24 * (t_u64)24 * (t_u64)3600 * (t_u64)1000;
|
||||||
|
|
Loading…
Reference in a new issue