重复协议字段校验删除

Signed-off-by: erestu <zhangjiayu24@huawei.com>
This commit is contained in:
erestu 2024-11-18 19:54:56 +08:00
parent d697b50cbe
commit 425574f79e

View File

@ -554,10 +554,6 @@ static uint8_t IsSettingFrameLengthValid(const SettingFrame *hostSettingFrame, u
return NSTACKX_TRUE;
}
if (payloadLength == (hostFrameLength += sizeof(hostSettingFrame->capsCheck))) {
return NSTACKX_TRUE;
}
if (payloadLength == (hostFrameLength += sizeof(hostSettingFrame->productVersion))) {
return NSTACKX_TRUE;
}