mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 09:31:36 +00:00
Fix: misaligned
This commit is contained in:
parent
96d6ad675a
commit
7f96b19b07
@ -968,12 +968,12 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake)
|
||||
j = 0;
|
||||
|
||||
for (i = 0; i < mapLen; i++) {
|
||||
if (i % 16 == 0)
|
||||
if (i % 16 == 0) {
|
||||
RTW_PRINT_SEL(RTW_DBGDUMP, "0x%03x: ", i);
|
||||
_RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
||||
, pEfuseHal->fakeEfuseInitMap[i]
|
||||
, ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ")
|
||||
);
|
||||
}
|
||||
_RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
||||
, pEfuseHal->fakeEfuseInitMap[i]
|
||||
, ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " "));
|
||||
}
|
||||
_RTW_PRINT_SEL(RTW_DBGDUMP, "\n");
|
||||
|
||||
|
@ -3835,11 +3835,11 @@ int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
|
||||
for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
|
||||
RTW_INFO("%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:\n", *(ptr + i),
|
||||
*(ptr + i + 1), *(ptr + i + 2) , *(ptr + i + 3) , *(ptr + i + 4), *(ptr + i + 5), *(ptr + i + 6), *(ptr + i + 7));
|
||||
RTW_INFO("#############################\n");
|
||||
_rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
||||
_rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
||||
pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
||||
pmppriv->mplink_brx =_TRUE;
|
||||
RTW_INFO("#############################\n");
|
||||
_rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
||||
_rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
||||
pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
||||
pmppriv->mplink_brx =_TRUE;
|
||||
}
|
||||
}
|
||||
if (pmppriv->bloopback) {
|
||||
|
Loading…
Reference in New Issue
Block a user