mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-26 22:33:39 +00:00
rtl8188eu: Fix 4th argument to EFUSE_GetEfuseDefinition()
If this is other than u16, a BE machine gets the wrong answer. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
7f635252a0
commit
a95d70956a
1 changed files with 2 additions and 2 deletions
|
@ -9234,7 +9234,7 @@ exit:
|
||||||
void rtw_dump_cur_efuse(PADAPTER padapter)
|
void rtw_dump_cur_efuse(PADAPTER padapter)
|
||||||
{
|
{
|
||||||
int i =0;
|
int i =0;
|
||||||
int mapsize =0;
|
u16 mapsize =0;
|
||||||
HAL_DATA_TYPE *hal_data = GET_HAL_DATA(padapter);
|
HAL_DATA_TYPE *hal_data = GET_HAL_DATA(padapter);
|
||||||
|
|
||||||
EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN , (void *)&mapsize, _FALSE);
|
EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN , (void *)&mapsize, _FALSE);
|
||||||
|
@ -9255,7 +9255,7 @@ u32 Hal_readPGDataFromConfigFile(PADAPTER padapter)
|
||||||
{
|
{
|
||||||
HAL_DATA_TYPE *hal_data = GET_HAL_DATA(padapter);
|
HAL_DATA_TYPE *hal_data = GET_HAL_DATA(padapter);
|
||||||
u32 ret = _FALSE;
|
u32 ret = _FALSE;
|
||||||
u32 maplen = 0;
|
u16 maplen = 0;
|
||||||
|
|
||||||
EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN , (void *)&maplen, _FALSE);
|
EFUSE_GetEfuseDefinition(padapter, EFUSE_WIFI, TYPE_EFUSE_MAP_LEN , (void *)&maplen, _FALSE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue