mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-26 01:51:34 +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;
|
j = 0;
|
||||||
|
|
||||||
for (i = 0; i < mapLen; i++) {
|
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, "0x%03x: ", i);
|
||||||
_RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
}
|
||||||
, pEfuseHal->fakeEfuseInitMap[i]
|
_RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
||||||
, ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ")
|
, pEfuseHal->fakeEfuseInitMap[i]
|
||||||
);
|
, ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " "));
|
||||||
}
|
}
|
||||||
_RTW_PRINT_SEL(RTW_DBGDUMP, "\n");
|
_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)
|
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),
|
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));
|
*(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_INFO("#############################\n");
|
||||||
_rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
_rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
||||||
_rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
_rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
||||||
pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
||||||
pmppriv->mplink_brx =_TRUE;
|
pmppriv->mplink_brx =_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (pmppriv->bloopback) {
|
if (pmppriv->bloopback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user