|
@@ -102,7 +102,7 @@ efuse_phymap_to_logical(u8 *phymap, u16 _offset, u16 _size_byte, u8 *pbuf)
|
|
if (!efuseTbl)
|
|
if (!efuseTbl)
|
|
return;
|
|
return;
|
|
|
|
|
|
- eFuseWord = (u16 **)rtw_malloc2d(EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(u16));
|
|
|
|
|
|
+ eFuseWord = (u16 **)rtw_malloc2d(EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(*eFuseWord));
|
|
if (!eFuseWord) {
|
|
if (!eFuseWord) {
|
|
DBG_88E("%s: alloc eFuseWord fail!\n", __func__);
|
|
DBG_88E("%s: alloc eFuseWord fail!\n", __func__);
|
|
goto eFuseWord_failed;
|
|
goto eFuseWord_failed;
|