mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Do duplicate removal by sequence number always.
This commit is contained in:
@@ -395,8 +395,7 @@ void CYSFControl::writeNetwork()
|
|||||||
m_netSeqNo = 0U;
|
m_netSeqNo = 0U;
|
||||||
} else {
|
} else {
|
||||||
// Check for duplicate frames, if we can
|
// Check for duplicate frames, if we can
|
||||||
// XXX this needs changing in the future
|
if (m_netSeqNo == data[34U]) {
|
||||||
if (m_netSeqNo == data[34U] && m_netSeqNo != 0U) {
|
|
||||||
LogDebug("YSF, removing network duplicate, seq %u", data[34U] >> 1);
|
LogDebug("YSF, removing network duplicate, seq %u", data[34U] >> 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user