mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2026-11-20 18:39:49 -05:00
mxm_wifiex: fix build warning in MM6X18543.p8 release
Fix the following build warning on ARM32 platform when building
MM6X18543.p8 wifi release.
mlan/mlan_init.c: In function ‘wlan_update_hw_spec’:
mlan/mlan_init.c:1780:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1780 | (t_u64)(&pmadapter->priv[i]
| ^
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
This commit is contained in:
parent
d5dfe5409d
commit
94f7717308
1 changed files with 2 additions and 3 deletions
|
|
@ -1775,10 +1775,9 @@ static void wlan_update_hw_spec(pmlan_adapter pmadapter)
|
|||
user_he_cap_5g_tlv->he_mac_cap[0] &=
|
||||
~HE_MAC_CAP_TWT_REQ_SUPPORT;
|
||||
PRINTM(MERROR,
|
||||
"LHX|hw_spec=%d, user_2g_he_cap=%08x\n",
|
||||
"LHX|hw_spec=%d, user_2g_he_cap=%p\n",
|
||||
i,
|
||||
(t_u64)(&pmadapter->priv[i]
|
||||
->user_2g_he_cap));
|
||||
pmadapter->priv[i]->user_2g_he_cap);
|
||||
DBG_HEXDUMP(
|
||||
MERROR, "LHX|hw_spec",
|
||||
user_he_cap_2g_tlv->he_phy_cap,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue