mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
重复协议字段校验删除
Signed-off-by: erestu <zhangjiayu24@huawei.com>
This commit is contained in:
parent
d697b50cbe
commit
425574f79e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user